commit | 4a80bc63b0e33c36fb30a176897753a29efffa98 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Mar 21 17:23:54 2013 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Thu Mar 21 17:23:54 2013 +0530 |
tree | ed2d393bb251240837c9ab0f33443a249417587a | |
parent | bed19ac4d389eca69447b0d711690ef581cb1f53 [diff] [blame] |
added permissions for server side print
diff --git a/website/utils.py b/website/utils.py index 811a40d..b059bea 100644 --- a/website/utils.py +++ b/website/utils.py
@@ -76,7 +76,10 @@ from_cache = True if not html: - webnotes.connect() + from webnotes.auth import HTTPRequest + webnotes.http_request = HTTPRequest() + + #webnotes.connect() html = load_into_cache(page_name) from_cache = False