On Monday 02 Nov 2009 8:14:22 am Mike Ramirez wrote:
> > hi,
> > when I switched from apache to nginx, I found that all my spaces in urls
> >  were being replaced with '%20' which caused the urls to fail and
> > database lookup also to fail. I used urllib.unquote in views and a \S in
> > urls to work around this. Is there some cleaner solution to this?
> > 
> 
> maybe if you can change the spaces to hyphens?  I really do think hypens
>  or  underscores should be used in urls instead of spaces, which is why I
>  love slug fields for urls.
> 
these are usually user generated - they love to put spaces. I can handle 
spaces, but would like to know how the spaces become %20 and how to prevent 
this.
-- 
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfosshelpline.in/web/

--~--~---------~--~----~------------~-------~--~----~
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