Changeset 2500

Show
Ignore:
Timestamp:
01/20/10 16:58:21 (7 weeks ago)
Author:
JensDiemer
Message:
Location:
branches/0.9/pylucid_project
Files:
9 added
6 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/pylucid_project/apps/pylucid

    • Property svn:ignore set to
      *.pyc
      *.log
      *.db3
      PyLucid.egg-info
  • branches/0.9/pylucid_project/apps/pylucid/system

    • Property svn:ignore set to
      *.pyc
      *.log
      *.db3
      PyLucid.egg-info
  • branches/0.9/pylucid_project/apps/pylucid/templates/pylucid

    • Property svn:ignore set to
      *.pyc
      *.log
      *.db3
      PyLucid.egg-info
  • branches/0.9/pylucid_project/apps/pylucid/views.py

    r2418 r2500  
    66from django.template import loader, RequestContext, Context, Template 
    77from django.utils.translation import ugettext as _ 
     8 
    89from django_tools.template import render 
    910 
     
    161162    if page_plugin_response == None and get_view_response == None: 
    162163        # No Plugin has changed the PageContent -> apply markup on PageContent 
    163         raw_html_content = apply_markup( 
     164        context["page_content"] = apply_markup( 
    164165            pagecontent_instance.content, pagecontent_instance.markup, request.page_msg 
    165166        ) 
    166     else: 
    167         raw_html_content = context["page_content"] 
    168167 
    169168    # 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) 
    172170 
    173171    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
  • branches/0.9/pylucid_project/settings.py

    r2458 r2500  
    110110    'django.middleware.transaction.TransactionMiddleware', 
    111111    'reversion.middleware.RevisionMiddleware', 
     112 
     113    # Insert a html link anchor to all headlines: 
     114    'pylucid_project.middlewares.headline_anchor.HeadlineAnchorMiddleware', 
    112115) 
    113116SLOWER_DEV_SERVER_SLEEP = 0.3 # time.sleep() value (in sec.)