diff --git a/src/paperless/urls.py b/src/paperless/urls.py index 1a2e514bc..47509286b 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/")), + url(r"^$", RedirectView.as_view(permanent=True, url="admin:index")), ] + static.static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)