From 896531276fd09b24a7fe62880428a042fd92f88c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 19 Oct 2018 22:29:18 +0200 Subject: [PATCH] django 2.0 does not allow giving a 3-tuple to include() --- nsupdate/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/urls.py b/nsupdate/urls.py index bd559e3..dc1afda 100644 --- a/nsupdate/urls.py +++ b/nsupdate/urls.py @@ -29,7 +29,7 @@ urlpatterns = [ url(r'^accounts/', include('nsupdate.login.urls')), # registration and user settings 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'^', include('nsupdate.main.urls')), ]