Sunday, January 2, 2011

Re: New to Django, sheet music organization site

SlugField ?

On Jan 3, 12:56 am, Kyle <kylecoo...@gmail.com> wrote:
> Ok I have a good start. I have run into a problem though. In my
> database, I have an artist field. Most artists have a space in there
> name. When creating my URLs, how can I ignore white space?
>
> For example, take the artist Chris Tomlin. In my database, it will
> show as "Chris Tomlin", but I don't want to type "music/Chris Tomlin"
> to access it, I want to type "music/christomlin" or "music/
> chris_tomlin". How can I do this?
>
> Thanks.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate