From 4ba9514007ecc81309f4a09a4ed20c5048297322 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Mon, 16 Apr 2018 09:53:31 +0100 Subject: [PATCH] Revert root redirection --- src/paperless/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless/urls.py b/src/paperless/urls.py index 47509286b..1a2e514bc 100644 --- a/src/paperless/urls.py +++ b/src/paperless/urls.py @@ -45,7 +45,7 @@ urlpatterns = [ url(r"admin/", admin.site.urls), # 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)