Procházet zdrojové kódy

chore: remove unrelated changes

version-14
Mohammad Hasnain Mohsin Rajan před 4 roky
committed by GitHub
rodič
revize
ea7dd9e8df
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 0 přidání a 10 odebrání
  1. +0
    -10
      frappe/website/page_renderers/document_page.py

+ 0
- 10
frappe/website/page_renderers/document_page.py Zobrazit soubor

@@ -56,16 +56,6 @@ class DocumentPage(BaseTemplatePage):

return build_response(self.path, html, self.http_status_code or 200, self.headers)

@cache_html
def get_html(self):
self.doc = frappe.get_doc(self.doctype, self.docname)
self.init_context()
self.update_context()
self.post_process_context()
html = frappe.get_template(self.template_path).render(self.context)

return html

def update_context(self):
self.context.doc = self.doc
self.context.update(self.context.doc.as_dict())


Načítá se…
Zrušit
Uložit