¿Por qué Django no reconoce mi url?
mi urls.py
from django.urls import path
from home.views import homePageView, activateUser
urlpatterns = [
path('',homePageView.as_view(),name='home'),
path('activate/([a-zA-Z0-9]{15})/$', activateUser.activate, name='activate')
]
La url a la que acccedo:
http://127.0.0.1:8000/activate/9Eri2DOMYpwI5p8/
el error que muestra:
Using the URLconf defined in cryptoassistant.urls, Django tried these URL patterns, in this order:
admin/ [name='home'] activate/([a-zA-Z0-9]{15})/$ [name='activate'] activate/([a-zA-Z0-9]{15})/$ [name='activate'] The current path, activate/9Eri2DOMYpwI5p8/, didn't match any of these.