My Ajax request throws an error in django, how do I find what it is?
问题 How do I get more information about the errors in my Ajax requests? When error occurs in Django during a normal HTTP request , Django shows a descriptive error page with exception details. However, when error occurs during an AJAX request , I just know the HTTP error code and that's it. I'd like to know as much details as I learn from a Django error page. 回答1: Your web server's error log will contain additional information about any uncaught exceptions. 回答2: Handle errors within your ajax