On Sun, Sep 13, 2009 at 9:07 PM, W.P. McNeill 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.defaultfil
I am going to populate the tables in my Django app from .CSV files
rather than through the admin interface, so I am going to need a
slugify Python function. I could write my own or pull a snippet from
the web, but this seems error prone. The right way to do it would
seem to be to use the slugify
2 matches
Mail list logo