#8391: Admin slugify function's results differ from those of slugify template
filter
------------------------------------+---------------------------------------
Reporter: bjornkri | Owner: nobody
Status: new | Milestone: 1.0 maybe
Component: Uncategorized | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by bjornkri):
Perhaps some sort of overriding mechanism could be implemented, say a
dictionary in settings.py that is appended to and overrides the defaults?
So by default 'ö' becomes 'o', but this behaviour could be changed by
something like:
{{{
CHARACTER_MAP = {
'ö': 'oe',
'ü': 'ue',
.....
}
}}}
But julien raises a good point, the javascript function is called URLify,
not slugify, so perhaps the issue is not that slugify is 'wrong', but more
that we need a python equivalent of URLify?
--
Ticket URL: <http://code.djangoproject.com/ticket/8391#comment:10>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---