Slugify

3 views
Skip to first unread message

Italo Maia

unread,
May 11, 2009, 10:33:50 PM5/11/09
to glashammer
If glashammer does not have a default slugify method or way of
proceed, i would like to suggest this piece of code:
http://trac.django-fr.org/browser/site/trunk/project/links/slughifi.py?rev=47
Seems to work well, here.

Ritesh Nadhani

unread,
May 12, 2009, 12:20:35 PM5/12/09
to glash...@googlegroups.com
I was thinking too but the problem is that it uses the Django method -
slugify which in itself has huge dependency on bunch of other methods
in the Django library.

I use this simple one:

http://www.djangosnippets.org/snippets/29/
--
Ritesh
http://www.riteshn.com

Italo Maia

unread,
May 12, 2009, 11:57:56 PM5/12/09
to glashammer
Humm, seems better. I'll update mine! Thanks =D

On 12 maio, 13:20, Ritesh Nadhani <rite...@gmail.com> wrote:
> I was thinking too but the problem is that it uses the Django method -
> slugify which in itself has huge dependency on bunch of other methods
> in the Django library.
>
> I use this simple one:
>
> http://www.djangosnippets.org/snippets/29/
>
> On Mon, May 11, 2009 at 7:33 PM, Italo Maia <italo.m...@gmail.com> wrote:
>
> > If glashammer does not have a default slugify method or way of
> > proceed, i would like to suggest this piece of code:
> >http://trac.django-fr.org/browser/site/trunk/project/links/slughifi.p...
Reply all
Reply to author
Forward
0 new messages