On Sun, Sep 13, 2009 at 9:07 PM, W.P. McNeill <bill...@gmail.com> wrote:

> the web, but this seems error prone.  The right way to do it would
> seem to be to use the slugify code that is already in Django.

> What is the best way to slugify an arbitrary string using a Python
> call?

from django.template.defaultfilters import slugify

-- dz

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to