Commit 0488c377c173259314594c981be5094ad4747020
1 parent
9126b0da
Exists in
master
and in
39 other branches
Fixed bug caused by PROXIED_APPS set to None
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
colab/settings.py
... | ... | @@ -312,5 +312,6 @@ if locals().get('RAVEN_DSN', False): |
312 | 312 | } |
313 | 313 | INSTALLED_APPS += ('raven.contrib.django.raven_compat',) |
314 | 314 | |
315 | -for app_label in locals().get('PROXIED_APPS', {}).keys(): | |
315 | +proxied_apps = locals().get('PROXIED_APPS') or {} | |
316 | +for app_label in proxied_apps.keys(): | |
316 | 317 | INSTALLED_APPS += ('colab.proxy.{}'.format(app_label),) | ... | ... |