path('<slug:slug>/', CategoryArticlesView.as_view(), name="category"),
Reverse for 'category' with arguments '('برنامه-نویسی',)' not found. 1
pattern(s) tried: ['articles/(?P<slug>[-a-zA-Z0-9_]+)/$']
remember than allow_unicode=True is working fine in SlugField but url
<slug:slug> doesn't accept it
--
Ticket URL: <https://code.djangoproject.com/ticket/32598>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
`SlugField.allow_unicode` doesn't impact path converters. It is also
[https://docs.djangoproject.com/en/3.1/topics/http/urls/#path-converters
documented] that:
> ''**slug** - Matches any slug string consisting of **ASCII letters or
numbers**, plus the hyphen and underscore characters. For example,
building-your-1st-django-site.''
You can create a custom path converter or use `re_path()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/32598#comment:1>