fixes in web cache
This commit is contained in:
parent
f7765a899b
commit
be59e7cc10
@ -75,6 +75,7 @@ def load_into_web_cache(page_name, template, doc_type, doc_name):
|
|||||||
|
|
||||||
# save html in web cache
|
# save html in web cache
|
||||||
webnotes.conn.begin()
|
webnotes.conn.begin()
|
||||||
|
clear_web_cache(doc_type, doc_name, page_name)
|
||||||
webnotes.conn.set_value('Web Cache', page_name, 'html', html)
|
webnotes.conn.set_value('Web Cache', page_name, 'html', html)
|
||||||
webnotes.conn.commit()
|
webnotes.conn.commit()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user