Full-House-UW / fullhouse

Full House: a household management tool
fullhousemanager.com
0 stars 6 forks source link

Site should display custom 404, 403 pages #210

Closed j3ffml closed 11 years ago

j3ffml commented 11 years ago

Pretty simple to do, just need to define handler404 and handler403 in the root url.py, and have templates for them. Then HttpResponseNotFound and HttpResponseForbidden will direct to our pages.

Then we can have more sensible handling in all the #TODOs in dashboard views where we currently just redirect to the dashboard if the request cannot be served because it's invalid/don't have permission, etc.

bkgomez commented 11 years ago

I'm assuming the templates should give the user the option of returning to the dashboard?

j3ffml commented 11 years ago

@bkgomez, I would say so. they can either extend the base template or just put have a link back to dashboard.