Changeset 7343 for cowsserver


Ignore:
Timestamp:
18/08/10 17:12:11 (9 years ago)
Author:
spascoe
Message:

Pylons 1.0 compatibility changes

Location:
cowsserver/branches/migrate-py26-pylons10/lib/cowsserver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cowsserver/branches/migrate-py26-pylons10/lib/cowsserver/config/environment.py

    r7340 r7343  
    3737    # CONFIGURATION OPTIONS HERE (note: all config options will override 
    3838    # any Pylons config options) 
    39     configCSML() 
     39    config['pylons.strict_tmpl_context'] = False 
     40    configCSML(config) 
    4041 
    4142    return config 
  • cowsserver/branches/migrate-py26-pylons10/lib/cowsserver/lib/base.py

    r7340 r7343  
    44utilized by Controllers. 
    55""" 
    6 from pylons import cache, config, g, request, response, session 
     6from pylons import cache, config, app_globals, request, response, session 
    77from pylons import tmpl_context as c 
    88from pylons.controllers import WSGIController 
    9 from pylons.controllers.util import abort, etag_cache, redirect_to 
     9from pylons.controllers.util import abort, etag_cache, redirect 
    1010from pylons.decorators import jsonify, validate 
    1111from pylons.i18n import _, ungettext, N_ 
    12 from pylons.templating import render 
     12from pylons.templating import render_genshi as render 
    1313 
    1414import cowsserver.lib.helpers as h 
Note: See TracChangeset for help on using the changeset viewer.