Hi konstantin.

On Mar 21, 2:38 am, "akonsu" <[EMAIL PROTECTED]> wrote:
> i have no handler404 defined in my application, so when a 404 is
> raised the server returns internal server error and an error message
> saying 'module' object has no attribute 'handler404' is written in to
> the log. how to make it use the default 404 view?

I added a 404.html file to my templates directory (also a 500.html)
and now Django displays them (assuming Debug = False).  You can use
the standard template inheritance, etc, so your error pages match the
rest of the site.

Scott


--~--~---------~--~----~------------~-------~--~----~
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