Hi, Try without regex, with int indication:
path('articles/<int:year>/', views.year_archive), https://docs.djangoproject.com/en/2.2/topics/http/urls/ Missatge de anil polineni <anilpolinen...@gmail.com> del dia ds., 5 d’oct. 2019 a les 3:55: > @ Dear all, > > > please reslove the djangoerror > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/1dcd5a57-efae-455c-8dcc-2afb1dba1e9b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/1dcd5a57-efae-455c-8dcc-2afb1dba1e9b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK-JoTS7VVCeEGEu0PY9e6sXrp6W4TMGSiYFqMgVwbMvdKXaXQ%40mail.gmail.com.