Commit e8536b6e99816a8fe8fbfe09e0ff3e9b9ac9ae5a
1 parent
07d30f85
Exists in
master
and in
32 other branches
Fix load settings
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
colab/settings.py
@@ -279,7 +279,7 @@ CONVERSEJS_SHOW_ONLY_ONLINE_USERS = True | @@ -279,7 +279,7 @@ CONVERSEJS_SHOW_ONLY_ONLINE_USERS = True | ||
279 | # Tastypie settings | 279 | # Tastypie settings |
280 | TASTYPIE_DEFAULT_FORMATS = ['json', ] | 280 | TASTYPIE_DEFAULT_FORMATS = ['json', ] |
281 | 281 | ||
282 | -from .utils.conf import load_colab_apps | 282 | +from .utils.conf import load_colab_apps, load_py_settings |
283 | 283 | ||
284 | if locals().get('RAVEN_DSN', False): | 284 | if locals().get('RAVEN_DSN', False): |
285 | RAVEN_CONFIG = { | 285 | RAVEN_CONFIG = { |
@@ -291,6 +291,7 @@ BROWSERID_ENABLED = locals().get('BROWSERID_ENABLED') or False | @@ -291,6 +291,7 @@ BROWSERID_ENABLED = locals().get('BROWSERID_ENABLED') or False | ||
291 | SOCIAL_NETWORK_ENABLED = locals().get('SOCIAL_NETWORK_ENABLED') or False | 291 | SOCIAL_NETWORK_ENABLED = locals().get('SOCIAL_NETWORK_ENABLED') or False |
292 | 292 | ||
293 | locals().update(load_colab_apps()) | 293 | locals().update(load_colab_apps()) |
294 | +locals().update(load_py_settings()) | ||
294 | 295 | ||
295 | COLAB_APPS = locals().get('COLAB_APPS') or {} | 296 | COLAB_APPS = locals().get('COLAB_APPS') or {} |
296 | PROXIED_APPS = {} | 297 | PROXIED_APPS = {} |