From: Vik Fearing Date: Sun, 9 Sep 2018 23:18:19 +0000 (-0700) Subject: Use modern way of including the admin URLs X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=9be4e7c0d492adab5cc750bbd649d5487559a791;p=pgeu-website.git Use modern way of including the admin URLs --- diff --git a/postgresqleu/urls.py b/postgresqleu/urls.py index bdda16d..bfe58b1 100644 --- a/postgresqleu/urls.py +++ b/postgresqleu/urls.py @@ -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),