mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
added html to tinymce + moved website/web_cache.py > website/utils.py
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user