Changed urlpatterns to use path
url() is deprecated in Django4.1
-from django.conf.urls import url
+from django.urls import path
from django.views.generic import View
urlpatterns = [
- url(r"^simple/action/$", View.as_view(), name="simpleAction"),
+ path("simple/action/", View.as_view(), name="simpleAction"),
]
