Browse Source

Add refer http link on hack

Bastien Sevajol 9 years ago
parent
commit
827addef21
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tracim/tracim/config/__init__.py

+ 2 - 3
tracim/tracim/config/__init__.py View File

@@ -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')