Changeset 5128

Show
Ignore:
Timestamp:
08/10/08 16:24:08 (5 months ago)
Author:
mramm
Message:

Updating render.py's get_tg_vars, because pylons was not imported in this module.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tg/render.py

    r5125 r5128  
    1 from pylons import app_globals, config, session, tmpl_context 
     1from pylons import app_globals, config, helpers, session, tmpl_context, request, response 
    22import pylons.templating as templating 
    33import tg 
     
    120120         
    121121    root_vars = Bunch( 
    122         c=pylons.tmpl_context, 
    123         tmpl_context = pylons.tmpl_context, 
    124         response = pylons.response, 
    125         request = pylons.request, 
    126         helpers=pylons.helpers, 
    127         h=pylons.helpers, 
     122        c=tmpl_context, 
     123        tmpl_context = tmpl_context, 
     124        response = response, 
     125        request = request, 
     126        helpers=helpers, 
     127        h=helpers, 
    128128        tg=tg_vars 
    129129        )