There were similar tryings to create international slugification before: http://groups.google.com/group/django-users/browse_thread/thread/6942f87bed76a536/8d38392e25dd1974
But your approach seems to be more generic. You should certainly post it on djangosnippets.org as a separate snippet or (maybe better) as an extension suggestion for http://www.djangosnippets.org/snippets/98/ Regards, Aidas Bendoraitis [aka Archatas] On 3/12/07, Sam <[EMAIL PROTECTED]> wrote: > > I needed slugify to be more precise with accented characters and i > couldn't find some code to do it, so here it is : > > http://amisphere.com/contrib/python-django/slughifi.py > > http://amisphere.com/contrib/python-django/ for a quick overview > > example : > >>> text = "C'est déjà l'été." > >>> slughifi(text, overwrite_char_map={u"'": "-",}) > 'c-est-deja-l-ete' > > Any comments ? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---