Browse Source

Added missing interface for preview generation to page_wrapped

master
Dirk Alders 2 months ago
parent
commit
42b03d821e
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      pages/page.py

+ 5
- 0
pages/page.py View File

409
         rv = page.render_to_html()
409
         rv = page.render_to_html()
410
         return rv
410
         return rv
411
 
411
 
412
+    def render_text(self, request, txt):
413
+        page = self.__page_choose__()
414
+        rv = page.render_text(request, txt)
415
+        return rv
416
+
412
     @property
417
     @property
413
     def title(self):
418
     def title(self):
414
         page = self.__page_choose__()
419
         page = self.__page_choose__()

Loading…
Cancel
Save