O'Reilly logo

Django 1.1 Testing and Debugging by Karen M. Tracey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. When the Wheels Fall Off: Understanding a Django Debug Page

Just about the last thing you want when your code is running in production is for it to encounter an error so severe that the only message that can be returned to the client is "We're sorry, the server has encountered an error, please try again later." During development, however, these server error situations are among the best of the bad outcomes. They generally indicate an exception has been raised, and when that happens there is a wealth of information available to figure out what has gone wrong. When DEBUG is on, this information is returned, in the form of a Django debug page, as the response to the request that caused the error. In this chapter, we will learn how to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required