added html to tinymce + moved website/web_cache.py > website/utils.py

This commit is contained in:
Rushabh Mehta
2012-12-07 11:00:26 +05:30
parent 0ea130a97c
commit 571377a313
6 changed files with 151 additions and 201 deletions

View File

@@ -36,7 +36,7 @@ class DocType():
from webnotes.sessions import clear_cache
clear_cache('Guest')
from website.web_cache import clear_cache
from website.utils import clear_cache
clear_cache(self.doc.page_name)
clear_cache('index')

View File

@@ -28,7 +28,7 @@ class DocType:
make_web_core()
# clear web cache (for menus!)
from website.web_cache import clear_cache
from website.utils import clear_cache
clear_cache()
from webnotes.sessions import clear_cache