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