Chore: Update URLS

This is required to run under python3.11 and Django4.1
This commit is contained in:
ahosking 2023-03-25 11:52:25 -04:00
parent 1dd1188bdc
commit 832e39fcd7
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path 1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 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.contrib import admin
from django.views.generic import TemplateView from django.views.generic import TemplateView
from django.urls import include, path from django.urls import include, path

View File

@ -1,4 +1,4 @@
from django.conf.urls import url from django.urls import path
from django.contrib import admin from django.contrib import admin
from django.views.generic import TemplateView from django.views.generic import TemplateView
from django.urls import include, path from django.urls import include, path