Closed Psycojoker closed 12 years ago
Drops the user into a (i)pdb shell if an exception is raised in a view.
I've chosen to drop by default in ipdb if it is installed or in pdb if it's not the case instead of adding 2 different options. Maybe you won't like this.
Code is heavily inspired by the code of http://eric.themoritzfamily.com/announcing-django-viewtools.html
Drops the user into a (i)pdb shell if an exception is raised in a view.
I've chosen to drop by default in ipdb if it is installed or in pdb if it's not the case instead of adding 2 different options. Maybe you won't like this.
Code is heavily inspired by the code of http://eric.themoritzfamily.com/announcing-django-viewtools.html