|
@@ -11,7 +11,6 @@ class TracimAppConfig(AppConfig):
|
11
|
11
|
|
12
|
12
|
def after_init_config(self, conf):
|
13
|
13
|
AuthConfigWrapper.wrap(conf)
|
14
|
|
- # Fix an tg2 strange thing: auth_backend is set in config, but instance
|
15
|
|
- # of AppConfig has None in auth_backend attr
|
16
|
|
- self.auth_backend = conf['auth_backend']
|
|
14
|
+ # Fix tg2 problem: https://groups.google.com/forum/#!topic/turbogears/oL_04O6eCQQ
|
|
15
|
+ self.auth_backend = conf.get('auth_backend')
|
17
|
16
|
self.sa_auth = conf.get('sa_auth')
|