Show Traceback HTML in browsable API#4172
Show Traceback HTML in browsable API#4172lovelydinosaur merged 2 commits intoencode:masterfrom akhilputhiry:4042
Conversation
|
I haven't dug into it, but I don't believe this would resolve the issue - the problem is likely not that the 500 page isn't returned, but that that it isn't handled correctly and rendered by the browsable API. If you can confirm that you've ensure the behavior changes before and after this patch, then I'll reopen the ticket, and consider it further. |
|
@tomchristie The 500 page is returned as plain text. In the JS, if response is not html it will redirect. We can handle it in JS side, but the response will be plain text. To generate the original django error page, we need to do this. I tested this by creating a sample app and its working. Please see the attachment. |
|
Thanks for that. |
Current coverage is 91.43%
|
|
Looks great, yup! Excellent work. 😄 |

Closes #4042