fix: prevent portal list pages from being cached
This commit is contained in:
parent
d50f03fc82
commit
57854698ce
1 changed files with 1 additions and 0 deletions
|
|
@ -26,5 +26,6 @@ class ListPage(TemplatePage):
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
frappe.form_dict.doctype = self.path
|
frappe.form_dict.doctype = self.path
|
||||||
|
frappe.local.no_cache = 1
|
||||||
self.set_standard_path("portal")
|
self.set_standard_path("portal")
|
||||||
return super().render()
|
return super().render()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue