From 3d6baba487c304692d23d095a695747c72784d9e Mon Sep 17 00:00:00 2001 From: Ilmari Marttila Date: Thu, 21 Nov 2024 21:37:52 +0200 Subject: [PATCH] include() not needed in admin site url conf Error was: Cannot override the namespace for a dynamic module that provides a namespace. --- web/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/urls.py b/web/urls.py index 803ca2b5..6f038a88 100644 --- a/web/urls.py +++ b/web/urls.py @@ -10,7 +10,7 @@ urlpatterns = [ url(r"^kipa/", include("tupa.urls")), - url(r"^admin/", include(admin.site.urls)), + url(r"^admin/", admin.site.urls), ] if settings.SERVE_MEDIA: