Commit f694a7c2ff09b1d44dcc62876f4138d88677c3d4
1 parent
3f665768
Exists in
master
and in
39 other branches
Fixing import error and APP order
-Import error of ProxyTracView -Set accounts app as first as it provides the AUTH_USER_MODEL
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
src/colab/custom_settings.py
| ... | ... | @@ -96,6 +96,8 @@ CACHES = { |
| 96 | 96 | DATABASE_ROUTERS = ['colab.routers.TracRouter',] |
| 97 | 97 | |
| 98 | 98 | INSTALLED_APPS = INSTALLED_APPS + ( |
| 99 | + # First app to provide AUTH_USER_MODEL to others | |
| 100 | + 'accounts', | |
| 99 | 101 | |
| 100 | 102 | # Not standard apps |
| 101 | 103 | 'raven.contrib.django.raven_compat', |
| ... | ... | @@ -115,7 +117,6 @@ INSTALLED_APPS = INSTALLED_APPS + ( |
| 115 | 117 | 'api', |
| 116 | 118 | 'rss', |
| 117 | 119 | 'planet', |
| 118 | - 'accounts', | |
| 119 | 120 | 'proxy', |
| 120 | 121 | 'search', |
| 121 | 122 | 'badger', | ... | ... |
src/proxy/urls.py