#10841: Better 500 template for AJAX calls -----------------------------------------+---------------------------------- Reporter: Riz <m.syc...@axion-rti.ru> | Owner: nobody Status: new | Milestone: Component: Core framework | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | -----------------------------------------+---------------------------------- Currently it's quite hard to debug errors raised during ajax calls because of full 500 page being returned. This diff adds simple 500 page, it's pretty close to code for pasting to dpaste but with additional GET\POST\META\FILES\Settings lists and error summary moved to top. Simple check to self.request.is_ajax() is made to select template to use.
As for me, it's much easier to use tools like Firebug with this patch. -- Ticket URL: <http://code.djangoproject.com/ticket/10841> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---