__session_cache removed and introducted memcache for caching

This commit is contained in:
Rushabh Mehta
2012-09-25 14:22:23 +05:30
parent 707932da0c
commit 0152b12e75
87 changed files with 87 additions and 87 deletions

View File

@@ -29,5 +29,5 @@ def execute():
d.dt = "Customize Form"
d.dt_label = "Customize Form View"
d.save(1)
from webnotes.session_cache import clear
from webnotes.sessions import clear
clear()

View File

@@ -46,7 +46,7 @@ def execute():
sql("update `tabDocField` set allow_on_submit = 1 where fieldname = 'page_break'")
sql("update `tabDocField` set allow_on_submit = 1 where fieldname in ('indent_details', 'po_details', 'purchase_receipt_details', 'entries', 'sales_order_details', 'delivery_note_details', 'quotation_details') and fieldtype = 'Table'")
from webnotes.session_cache import clear_cache
from webnotes.sessions import clear_cache
clear_cache(webnotes.session['user'])
# FEATURES SETUP