Revert root redirection

This commit is contained in:
Daniel Quinn 2018-04-16 09:53:31 +01:00
parent 4505711e4f
commit 4ba9514007

View File

@ -45,7 +45,7 @@ urlpatterns = [
url(r"admin/", admin.site.urls), url(r"admin/", admin.site.urls),
# Redirect / to /admin # Redirect / to /admin
url(r"^$", RedirectView.as_view(permanent=True, url="admin:index")), url(r"^$", RedirectView.as_view(permanent=True, url="/admin/")),
] + static.static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) ] + static.static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)