django 2.0 does not allow giving a 3-tuple to include()

This commit is contained in:
Thomas Waldmann 2018-10-19 22:29:18 +02:00
parent d8bb177301
commit 896531276f

View File

@ -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')),
] ]