mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
patch to clear web cache
This commit is contained in:
8
patches/december_2012/clear_web_cache.py
Normal file
8
patches/december_2012/clear_web_cache.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import webnotes
|
||||||
|
def execute():
|
||||||
|
# build wn-web.js and wn-web.css
|
||||||
|
from website.helpers.make_web_include_files import make
|
||||||
|
make()
|
||||||
|
|
||||||
|
import website.utils
|
||||||
|
website.utils.clear_cache()
|
||||||
@@ -741,4 +741,8 @@ patch_list = [
|
|||||||
'patch_module': 'patches.december_2012',
|
'patch_module': 'patches.december_2012',
|
||||||
'patch_file': 'replace_createlocal',
|
'patch_file': 'replace_createlocal',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'patch_module': 'patches.december_2012',
|
||||||
|
'patch_file': 'clear_web_cache',
|
||||||
|
},
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user