Opened 14 years ago
Closed 14 years ago
#16190 closed Cleanup/optimization (duplicate)
django.views.debug.technical_500_response() not much helpful for AJAX request
| Reported by: | Piotr Czachur | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description
When DEBUG=True and exception is raised inside a view, Django generates complete HTML page with exception info.
For AJAX requests it's not much readable (redundant CSS, <head>, etc.), it would be nice if there is another template for AJAX, which returns some simplified HTML or event text which can be than displayed to developer.
Change History (3)
comment:1 by , 14 years ago
| Component: | Uncategorized → Core (Other) |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
| UI/UX: | set |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #10841