Changeset 2913

Show
Ignore:
Timestamp:
04/22/07 06:57:37 (2 years ago)
Author:
alberto
Message:

merged 2911:2912 from 1.0

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG.txt

    r2910 r2913  
    2323*Changes* 
    2424 
     25* ``cherrypy.request`` is now available at the variables sent to every template. 
     26  #1362 by Christoph Zwerschke. 
    2527* SA transaction object is now stored at ``cherrypy.request.sa_transaction`` so it 
    2628  can be accessed from the controllers. Patch at #1359 by Janzert. 
  • trunk/turbogears/view/base.py

    r2806 r2913  
    290290    errors 
    291291        validation errors 
     292    request 
     293        the cherrypy request 
    292294    config 
    293295        the cherrypy config get function 
     
    313315        locale = get_locale(), 
    314316        errors = getattr(cherrypy.request, "validation_errors", {}), 
    315         inputs = getattr(cherrypy.request, "input_values", {})) 
     317        inputs = getattr(cherrypy.request, "input_values", {}), 
     318        request = cherrypy.request) 
    316319    for provider in variable_providers + variableProviders: 
    317320        provider(vars)