django/django — pull request #988 by rikatee (2013-04-03 21:54:00+00:00)
Title: Update debug.py

Interactive debug response was nerfed as of Django 1.4 when working with AJAX. The change resulted in internal errors only returning the traceback body, and not the nice interactive debug response which we know and love.

This change makes working with AJAX in >1.4 very difficult compared with <1.4.

My proposed change makes this nerfing optional: set NERF_DEBUG_ON_AJAX to False in your settings.py to get the goodness when using AJAX