Changeset 2500
- Timestamp:
- 01/20/10 16:58:21 (7 weeks ago)
- Location:
- branches/0.9/pylucid_project
- Files:
-
- 9 added
- 6 modified
-
apps/pylucid (modified) (1 prop)
-
apps/pylucid/system (modified) (1 prop)
-
apps/pylucid/system/sub_headline_anchor.py (added)
-
apps/pylucid/templates/pylucid (modified) (1 prop)
-
apps/pylucid/templates/pylucid/headline_anchor.html (added)
-
apps/pylucid/views.py (modified) (2 diffs)
-
middlewares (modified) (1 prop)
-
middlewares/headline_anchor.py (added)
-
pylucid_plugins/TOC (added)
-
pylucid_plugins/TOC/templates (added)
-
pylucid_plugins/TOC/templates/TOC (added)
-
pylucid_plugins/TOC/templates/TOC/TOC.html (added)
-
pylucid_plugins/TOC/views.py (added)
-
pylucid_plugins/TOC/__init__.py (added)
-
settings.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/pylucid_project/apps/pylucid
-
Property
svn:ignore set
to
*.pyc
*.log
*.db3
PyLucid.egg-info
-
Property
svn:ignore set
to
-
branches/0.9/pylucid_project/apps/pylucid/system
-
Property
svn:ignore set
to
*.pyc
*.log
*.db3
PyLucid.egg-info
-
Property
svn:ignore set
to
-
branches/0.9/pylucid_project/apps/pylucid/templates/pylucid
-
Property
svn:ignore set
to
*.pyc
*.log
*.db3
PyLucid.egg-info
-
Property
svn:ignore set
to
-
branches/0.9/pylucid_project/apps/pylucid/views.py
r2418 r2500 6 6 from django.template import loader, RequestContext, Context, Template 7 7 from django.utils.translation import ugettext as _ 8 8 9 from django_tools.template import render 9 10 … … 161 162 if page_plugin_response == None and get_view_response == None: 162 163 # No Plugin has changed the PageContent -> apply markup on PageContent 163 raw_html_content= apply_markup(164 context["page_content"] = apply_markup( 164 165 pagecontent_instance.content, pagecontent_instance.markup, request.page_msg 165 166 ) 166 else:167 raw_html_content = context["page_content"]168 167 169 168 # Render django tags in PageContent with the global context 170 pagecontent_html = render.render_string_template(raw_html_content, context) 171 context["page_content"] = pagecontent_html 169 context["page_content"] = render.render_string_template(context["page_content"], context) 172 170 173 171 pre_render_global_template.send(sender=None, request=request, page_template=page_template) -
branches/0.9/pylucid_project/middlewares
-
Property
svn:ignore set
to
*.pyc
*.log
*.db3
PyLucid.egg-info
-
Property
svn:ignore set
to
-
branches/0.9/pylucid_project/settings.py
r2458 r2500 110 110 'django.middleware.transaction.TransactionMiddleware', 111 111 'reversion.middleware.RevisionMiddleware', 112 113 # Insert a html link anchor to all headlines: 114 'pylucid_project.middlewares.headline_anchor.HeadlineAnchorMiddleware', 112 115 ) 113 116 SLOWER_DEV_SERVER_SLEEP = 0.3 # time.sleep() value (in sec.)