My view code for my calendar app can detect when a user supplies a bad year, month or day, but I have no idea how to get Django to display an application specific "500" page. I put a 500.html in my templates subdir for the calendar app, but it is not found when a raise an exception. It does look elsewhere for a 500 template, but that file doesn't exist in my setup.
(In case you are wondering, I set DEBUG = False in my settings.py file.) How is this supposed to work? I saw a mention suggesting changing urls.py and also noticed HTTPResponseServerError, but I haven't found an actual example of application specific error handling. Once I have this working, is there any way for my application to override or bypass the global DEBUG setting so that these handled cases do not yield a traceback?

