3 ms·
You're right. Another handy way to do this is to keep debug as False and use middleware to show the debug error if you're logged in as an admin or from an IP th
by jonknee 17y ago
You're right. Another handy way to do this is to keep debug as False and use middleware to show the debug error if you're logged in as an admin or from an IP that matches in INTERNAL_IPS:
http://ericholscher.com/blog/2008/nov/15/debugging-django-production-environments/ http://ericholscher.com/blog/2008/nov/15/debugging-django-pr...
Sort of the best of both worlds.