Changeset 1821 for trunk/pylucid_project/PyLucid/index.py
- Timestamp:
- 02/11/09 16:32:47 (13 months ago)
- Files:
-
- 1 modified
-
trunk/pylucid_project/PyLucid/index.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid_project/PyLucid/index.py
r1760 r1821 38 38 render_string_template 39 39 from PyLucid.plugins_internal.page_style.page_style import replace_add_data 40 41 # ToDo: get_template should be move into a better place: 42 from PyLucid.plugins_internal.page_style.page_style import get_template 40 43 41 44 … … 128 131 context["PAGE"].content = page_content 129 132 130 template = current_page.template 133 # Get the template instance: consider the overwrite from page_style.switch() 134 # or get the template from the current page object. 135 template = get_template(request) 136 137 # Get the content from the model instance 131 138 template_content = template.content 132 139