> Some places say underscores are valid, others say they removed:
> 
>     http://docs.djangoproject.com/en/dev/ref/templates/builtins/
> 
>     slugify
> 
>       Converts to lowercase, removes non-word characters
>       (alphanumerics and underscores) and converts spaces to
>       hyphens. Also strips leading and trailing whitespace.

Wow.  I just now re-read that differently.  (alphanumerics and
underscores) are what is _left_.

Would this be clearer?

    Converts to lowercase, allows dashes and underscores,
    removes other non-alphanumeric characters, and converts spaces
    to hyphens. Also strips leading and trailing whitespace.

Dunno.

jdl

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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