Use modern way of including the admin URLs
authorVik Fearing <vikreykaj@gmail.com>
Sun, 9 Sep 2018 23:18:19 +0000 (16:18 -0700)
committerMagnus Hagander <magnus@hagander.net>
Sun, 9 Sep 2018 23:18:19 +0000 (16:18 -0700)
postgresqleu/urls.py

index bdda16d15f1939dd2f34e190c4cc2639b0902709..bfe58b1ba7f001d9e8285cc666b5222d00c5f36b 100644 (file)
@@ -291,7 +291,7 @@ urlpatterns.extend([
        url(r'^admin/selectable/', include('selectable.urls')),
 
        # Admin site
-    url(r'^admin/', include(admin.site.urls)),
+    url(r'^admin/', admin.site.urls),
 
        # Fallback - send everything nonspecific to the static handler
        url(r'^(.*)/$', postgresqleu.static.views.static_fallback),