Make default django admin use Django 2.0 url format. Resolve #1842
This commit is contained in:
parent
432674ac7c
commit
be0cba2ac3
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ if settings.EVENNIA_ADMIN:
|
||||||
url(r'^admin/', admin.site.urls)]
|
url(r'^admin/', admin.site.urls)]
|
||||||
else:
|
else:
|
||||||
# Just include the normal Django admin.
|
# 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
|
# This sets up the server if the user want to run the Django
|
||||||
# test server (this should normally not be needed).
|
# test server (this should normally not be needed).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue