How do I include a stacktrace in my Django 500.html page?
As @zacherates says, you really don't want to display a stacktrace to your users.  The easiest approach to this problem is what Django does by default if you have yourself and your developers listed in the ADMINS setting with email addresses; it sends an email to everyone in that list with the full stack trace (and more) everytime there is a 500 error with DEBUG = False.
I'm running Django 1.0 and I'm close to deploying my app.  As such, I'll be changing the DEBUG setting to False.
With that being said, I'd still like to include the stacktrace on my 500.html page when errors occur.  By doing so, users can copy-and-paste the errors and easily email them to the developers.
Any thoughts on how best to approach this issue?