there may be problem in your code but regarding the Debug=True, it loads 404.html and display errors, but we can't put Debug=True live so if Debug=False then djago automatically load your 500.html and where you can write your own message for the user, and can redirect them from that url. to check the actual error you need to make Debug=True, so that it can display errors in your local machine.
On Wednesday, 18 July 2012 15:34:49 UTC+5:30, nffdiogosilva wrote: > > Hello folks. > > Just for the record, this is my first project in Django. > > The problem is this: > > When i have the debug on true and i search for a page that i know that > don't exist i get the expected Django 404 error. > But when i turn off the Debug, instead of getting my 404html page, i get > the 500html page. I don't even know which mistake in my code could be > originating this. > > Any thoughts? > > Regards, > nffdiogosilva. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_sKmwed6Ej0J. 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.