diff --git a/py/webnotes/__init__.py b/py/webnotes/__init__.py index 6e8af3d410..c8cb0c48cb 100644 --- a/py/webnotes/__init__.py +++ b/py/webnotes/__init__.py @@ -211,3 +211,8 @@ def whitelist(allow_guest=False): return fn return innerfn + +def clear_cache(): + """clear boot cache""" + from webnotes.session_cache import clear + clear()