diff --git a/dashboard/urls.py b/dashboard/urls.py index 55d7ed9..5c4d8d7 100644 --- a/dashboard/urls.py +++ b/dashboard/urls.py @@ -36,12 +36,13 @@ # django urls url(r'^admin/', admin.site.urls), + + url(r'^api/v1/', include('api.urls')), ] urlpatterns += i18n_patterns( # our app urls url(r'^$', dashboard_views.Home.as_view(), name='home'), - url(r'^api/v1/', include('api.urls')), url(r'^push/', include('push.urls')), url(r'^accounts/login/$', dashboard_views.Login.as_view(), name='login'), ) diff --git a/requirements.txt b/requirements.txt index 72e6ca5..fb90edf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ django-csp==2.0.3 django-extensions==1.6.1 django-pipeline==1.6.8 djangorestframework==3.3.3 -django-rest-swagger==0.3.5 +https://github.com/groovecoder/django-rest-swagger/archive/7446fa8.zip#egg=django-rest-swagger django-waffle==0.11 dnslib==0.9.6 ecdsa==0.13