#32598: Issue in models.SlugField
---------------------------------------+------------------------
Reporter: MojixCoder | Owner: nobody
Type: Bug | Status: new
Component: Core (URLs) | Version: 3.1
Severity: Normal | Keywords: slug
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+------------------------
After setting allow_unicode=True for a SlugField in Our models we cant
still use persian slugs because in <slug:slug> it doesn't accept unicode
slugs ( take a look at slug regex ).
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.42a5918f4a0cea10f64096bd273b2db1%40djangoproject.com.