#16501: validators.py don't like unicode slug
-------------------------------+------------------------------------
Reporter: norn | Owner: pbnan
Type: New feature | Status: new
Component: Core (Other) | Version: 1.3
Severity: Normal | Resolution:
Keywords: unicode, slug | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by fcurella):
I've created an alternative pul request that adds
`db.models.UnicodeSlugField` and `forms.UnicodeSlugField`
https://github.com/django/django/pull/1987
On one hand, I like the new field approach because it gives us an easier
upgrade path. On the other hand, it feels like I'm polluting
`django.db.models` and `django.forms` with slightly different versions of
something that's already there.
Unfortunately, just passing a regex argument (as suggested by Jacob) is
not going to be enough, because we'll also have to pass an error message
string for the validator.
--
Ticket URL: <https://code.djangoproject.com/ticket/16501#comment:17>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.0304da3644c2f1d6b708230cfa894632%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.