Tuesday, November 29, 2011

Re: A view associated with a lot of urls

On 29-11-11 21:37, Nolhian wrote:
> However with that, there is no way for example to make a difference
> between "there is no items in this category" and "this category
> doesn't exist" !

Probably not a problem. How are people ending up on those URLS? Not by
guessing, I think. So you probably have a start page that lists the
categories and then a category page that lists the items.

A 404 on /non/existing leads people to try /non/ which would also 404.


Reinout van Rees http://reinout.vanrees.org/
reinout@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

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.

No comments:

Post a Comment