Thanks, Kevin. Of the two situations

(a) the user types http://www.example.com/
(b) the user types http://www.example.com/somethingelse/

that would take care of (b) where no page was matched. It would also
take care of (a) but in principle the home page should not be reached
through a "page not found" kind of thing. So now I have two more
questions:

(1) What pattern should be used to handle case (a) where we are
matching for the home page (i.e. just the URL and nothing after that)?
(2) How is handler404 configured in urlconf? Could you provide a
sample urlconf file which would implement handler404 with a custom
redirection?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to