From 832e39fcd7a8e28e6d13e97c82b1d1390309d2d9 Mon Sep 17 00:00:00 2001 From: ahosking Date: Sat, 25 Mar 2023 11:52:25 -0400 Subject: [PATCH] Chore: Update URLS This is required to run under python3.11 and Django4.1 --- api/api/urls.py | 2 +- api/bills/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api/urls.py b/api/api/urls.py index fea5601..f8a6bb3 100644 --- a/api/api/urls.py +++ b/api/api/urls.py @@ -13,7 +13,7 @@ Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ -from django.conf.urls import url +from django.urls import path from django.contrib import admin from django.views.generic import TemplateView from django.urls import include, path diff --git a/api/bills/urls.py b/api/bills/urls.py index 99d30d7..95308da 100644 --- a/api/bills/urls.py +++ b/api/bills/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import url +from django.urls import path from django.contrib import admin from django.views.generic import TemplateView from django.urls import include, path