Answers for "django Your URL pattern has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path()."

0

django Your URL pattern has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().

re_path(r'^(?P<album_id>[0-9])/$', views.detail, name='detail'),
Posted by: Guest on May-01-2022

Code answers related to "django Your URL pattern has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path()."

Python Answers by Framework

Browse Popular Code Answers by Language