#16501: Add option to accept unicode characters in SlugField
-------------------------------+------------------------------------
Reporter: norn | Owner: pbnan
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: unicode, slug | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by kutenai):
Submitted a new [https://github.com/django/django/pull/4518/commits PR
#4518] to replace [https://github.com/django/django/pull/3729 PR #3729].
The new pull request is rebased onto the latest master, and fixes some
items discussed in the previous pull request.
There is one item that needs to be reviwed.
django/contrib/admin/options.py:1744
{{{
@property
def media(self):
extra = '' if settings.DEBUG else '.min'
js = ['jquery%s.js' % extra, 'jquery.init.js', 'inlines%s.js' %
extra]
# TODO: Was removed in master, modified in patch.
if self.prepopulated_fields:
js.extend(['xregexp.min.js', 'urlify.js', 'prepopulate%s.js' %
extra])
if self.filter_vertical or self.filter_horizontal:
js.extend(['SelectBox.js', 'SelectFilter2.js'])
return forms.Media(js=[static('admin/js/%s' % url) for url in js])
}}}
I am not sure what to do with the updated code.
--
Ticket URL: <https://code.djangoproject.com/ticket/16501#comment:24>
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.e51e4cec1410e0b91145bcd57f73592d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.