From 7d7ed7e37d8afad2f015dd50b051389beeccb0ed Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 28 Feb 2012 18:57:37 +0530 Subject: [PATCH] modules_setup: --- py/webnotes/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) 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()