#8391: Admin slugify function's results differ from those of slugify template
filter
------------------------------------+---------------------------------------
Reporter: bjornkri | Owner: nobody
Status: closed | Milestone: 1.0 maybe
Component: Uncategorized | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by mtredinnick):
* status: new => closed
* resolution: => wontfix
Comment:
Okay, this is all a bit of a non-issue. The Javascript and Python versions
are not intended to give the same results. There is much more
functionality available at the Python level, for a start, in the form of
codecs and unicode mapping data. Secondly, we're not interested in
shipping more and more data over in the Javascript file. The Javascript
version works reasonably well for a bunch of cases. It doesn't work at all
in other cases (e.g. Japanese text. In other cases it gives some result
and some people may prefer something else. The point is that it doesn't
matter. It's just an aid. If you don't like what the aid gives you, you
can happily edit the field in the admin, or always do it on the Python
side, or create your own Javascript function to use.
The Javascript function is not meant to be something that works perfectly
for everybody because transliteration is a very ambiguous area. If it
doesn't work for your purposes, don't use it.
--
Ticket URL: <http://code.djangoproject.com/ticket/8391#comment:16>
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
-~----------~----~----~----~------~----~------~--~---