Commit f694a7c2ff09b1d44dcc62876f4138d88677c3d4

Authored by Gustavo Jaruga Cruz
1 parent 3f665768

Fixing import error and APP order

-Import error of ProxyTracView
-Set accounts app as first as it provides the AUTH_USER_MODEL
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
1 1  
2 2 from django.conf.urls import patterns, include, url
3 3  
4   -from .views import ProxyView, JenkinsProxyView, GitlabProxyView, RedmineProxyView
  4 +from .views import ProxyView, JenkinsProxyView, GitlabProxyView, RedmineProxyView, TracProxyView
5 5  
6 6  
7 7 urlpatterns = patterns('',
... ...