Changeset 4763

Show
Ignore:
Timestamp:
06/18/08 01:38:22 (5 months ago)
Author:
mramm
Message:

More config changes. Now middleware and environment are both setup in the framework, not in the template code.

This should hopefully be the last round before preview-1 is released.

Files:

Legend:

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

    r4761 r4763  
    6565            auth = base_config.sa_auth 
    6666             
    67             app = make_who_middleware(app, config, auth.User,  
    68                                       auth.user_criterion, auth.user_id_col,  
    69                                       auth.DBSession) 
     67            app = make_who_middleware(app, config, auth.user,  
     68                                      auth.user_criterion,  
     69                                      auth.user_id_col,  
     70                                      auth.dbsession) 
    7071 
    7172        if asbool(full_stack):