I have a url in the following format /city/state/slug however sometimes we get city names which has more than one word. eg. 'garden city'
As a result on it the url that we form becomes as follows. /garden city/KS/abc-xyz here you can see a space in between words of the city name. when we pass this url in the browser django gives us an error, " page not found ". whereas a singe word city name and the url works fine. eg. /olathe/KS/uuu-zzzz We frame this city state slug url in our get_absolute_url function. How should we eliminaaatte this error please advice we tried different way to sollv it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---