From dff2e4d4c635b42120e67fe613f0dc612b09b514 Mon Sep 17 00:00:00 2001 From: Hampus Toft Date: Tue, 23 Jan 2024 09:19:18 +0100 Subject: [PATCH] Changed to wagtail admin page --- src/admin/urls.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/admin/urls.py b/src/admin/urls.py index 977c8941..fc7146f6 100644 --- a/src/admin/urls.py +++ b/src/admin/urls.py @@ -1,14 +1,7 @@ -# from wagtail.admin import urls as wagtailadmin_urls -# from django.conf.urls import include, url - -# urlpatterns = [ -# url(r'', include(wagtailadmin_urls)), -# ] - -from django.contrib import admin -from django.urls import path +from wagtail.admin import urls as wagtailadmin_urls +from django.urls import path, include urlpatterns = [ - path('', admin.site.urls), + path(r'', include(wagtailadmin_urls)), ]