Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango error page not showing
    primarykey
    data
    text
    <p>I am using django 1.1.4 and python 2.6.6 with mod_wsgi to build a website</p> <p>The client wants the 404 and 500 pages to have his logo and home page link. I have written simple pages. Its bigger than 512 bytes. I have paced the files in PROJECT_ROOT/templates/</p> <p>if I set debug to be <code>True</code> the error says its a 404 error. but when I set it to be <code>False</code> and try to load a page that does not exist I get an internal server error that looks like this:</p> <blockquote> <p>Internal Server Error</p> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log. Apache/2.2.15 (CentOS) Server at www.anglais-verbe.com Port 80</p> </blockquote> <p>What should I do?</p> <p>I have not written any views for handling 404, 500 or made changes to the urls.py.</p> <p>This is my first full fledged django project and I am not sure what is going wrong.</p> <p><strong>Update:</strong></p> <p>My admin traceback email is </p> <pre><code>File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 125, in get_response callback, param_dict = resolver.resolve404() File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 267, in resolve404 return self._resolve_special('404') File "/usr/lib/python2.6/site-packages/django/core/urlresolvers.py", line 259, in _resolve_special callback = getattr(self.urlconf_module, 'handler%s' % view_type) AttributeError: 'module' object has no attribute 'handler404' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload