I do not understand why django is not using my 500.html template for server errors. I deployed my application to Elastic Beanstalk, and although all 404 requests are handled by the 404.html template, 500 errors show a standard apache error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
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.
More information about this error may be available in the server error log.
Apache/2.2.25 (Amazon) Server at myapp.elasticbeanstalk.com Port 80
What could be? (I have both templates in the same place)
source
share