patch to clear web cache

This commit is contained in:
Anand Doshi 2012-12-17 16:14:08 +05:30
parent a93ba77918
commit 56359f06f6
2 changed files with 12 additions and 0 deletions

View 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()

View File

@ -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',
},
] ]