From 07170f317b960729656b6c2bb31d87c6befb6ea8 Mon Sep 17 00:00:00 2001 From: Dhwani Patel Date: Tue, 26 Mar 2024 15:41:27 -0600 Subject: [PATCH] Remove re_path from storage_service/urls.py --- storage_service/storage_service/urls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storage_service/storage_service/urls.py b/storage_service/storage_service/urls.py index f51665861..26340c253 100644 --- a/storage_service/storage_service/urls.py +++ b/storage_service/storage_service/urls.py @@ -6,7 +6,6 @@ from django.contrib import admin from django.urls import include from django.urls import path -from django.urls import re_path from django.views.generic import TemplateView from storage_service import views @@ -15,7 +14,7 @@ urlpatterns = [ path("", TemplateView.as_view(template_name="index.html")), # Uncomment the next line to enable the admin: - re_path(r"^admin/", admin.site.urls), + path("admin/", admin.site.urls), path("", include(locations.urls)), path("administration/", include(administration.urls)), path("api/", include(locations.api.urls)),