Re: 404 and 500 erros

2006-05-26 Thread Ivan Sagalaev
Vladikio wrote: > I know errors 500 and 404 automatically use 404.html and 500.html ... >but is there a way to define a view that handles those errors ? > Yes. http://www.djangoproject.com/documentation/tutorial3/#write-a-404-page-not-found-view > For instance to send an email each time a 500

404 and 500 erros

2006-05-26 Thread Vladikio
Hi, I know errors 500 and 404 automatically use 404.html and 500.html ... but is there a way to define a view that handles those errors ? For instance to send an email each time a 500 error happens ? Best, -- Vladikio --~--~-~--~~~---~--~~ You received this m