patch to clear web cache
This commit is contained in:
parent
a93ba77918
commit
56359f06f6
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',
|
||||||
|
},
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user