django 2.0 does not allow giving a 3-tuple to include()
This commit is contained in:
parent
d8bb177301
commit
896531276f
@ -29,7 +29,7 @@ urlpatterns = [
|
|||||||
url(r'^accounts/', include('nsupdate.login.urls')),
|
url(r'^accounts/', include('nsupdate.login.urls')),
|
||||||
# registration and user settings
|
# registration and user settings
|
||||||
url(r'^account/', include('nsupdate.accounts.urls')),
|
url(r'^account/', include('nsupdate.accounts.urls')),
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include((admin.site.get_urls(), 'admin'), namespace='admin')),
|
||||||
url(r'^i18n/', include('django.conf.urls.i18n')),
|
url(r'^i18n/', include('django.conf.urls.i18n')),
|
||||||
url(r'^', include('nsupdate.main.urls')),
|
url(r'^', include('nsupdate.main.urls')),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user