Aug 9, 2023
Some things have changed in Django versions.
Check how to use path instead of url. What you want to do is similar to th3 code below.
from django.url import path
urlpatterns = [
path("contact", view_name.py)
]
Some things have changed in Django versions.
Check how to use path instead of url. What you want to do is similar to th3 code below.
from django.url import path
urlpatterns = [
path("contact", view_name.py)
]
RidwanRay.com -I provide engineers with actionable tips and guides for immediate use