Code

#19978 closed Cleanup/optimization (wontfix)

Technical 500 response as HTML for Ajax request

Reported by: rodrigopmatias@… Owned by: nobody
Component: Core (Other) Version: 1.5
Severity: Normal Keywords: debug 500 error
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I would like to greet everyone, I would also commend the Django project management as well as the team responsible for maintaining this excellent framework that is also my source of income for more than 4 years. In particular I would like to thank Ramigo Morales (@ ramiro) who showed me the way Github to suggest a modification to this excellent project.

I develop a project based on Django that works with 98% of traffic information through Ajax and sintimos miss the old page to debug when an error occurs in development mode. I know that for many the change was positive, but for my team was so bad the search bug.

However I would suggest a modification configurable for compatibility than existed before since for many people must have been positive changes made ​​by the team of Django.

Had implemented the desired modification to this but Ramiro encouraged me to create this ticket. If possible I would like to receive suggestions to modify the implementation so that it better supports the Django project is accepted and maybe in the trunk of this project.

Now appreciate the attention.

pull Request
https://github.com/django/django/pull/844/files

Attachments (0)

Change History (1)

comment:1 Changed 16 months ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

I really don't like adding another setting for something this domain-specific. You can fairly easily get the same effect with a custom exception middleware; marking wontfix.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.