Make default django admin use Django 2.0 url format. Resolve #1842

This commit is contained in:
Griatch 2019-06-07 23:53:23 +02:00
parent 432674ac7c
commit be0cba2ac3

View file

@ -50,7 +50,7 @@ if settings.EVENNIA_ADMIN:
url(r'^admin/', admin.site.urls)]
else:
# Just include the normal Django admin.
urlpatterns += [url(r'^admin/', include(admin.site.urls))]
urlpatterns += [url(r'^admin/', admin.site.urls)]
# This sets up the server if the user want to run the Django
# test server (this should normally not be needed).