S
S
Stanislav Fateev2015-08-13 10:16:29
Django
Stanislav Fateev, 2015-08-13 10:16:29

Django + AngularJS, how to see traceback in console on error?

I got to maintain and refine the AJAX application on Django + Tastypie + AngularJS. Faced with the fact that when processing AJAX requests in the console (./manage.py runserver), traceback is not displayed on error. Stupidly reports an error 500, but does not write where and why it happened. Ways around this found on stackoverflow did not help (I think they are outdated - I tried to copy-paste some middleware, and change the LOGGING settings) How to fix this on Django 1.8?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
marazmiki, 2015-08-13
@svfat

As far as I remember, traceback is displayed in the console about DEBUG=False

X
xozzslip, 2015-08-21
@xozzslip

You can also do this: ctrl + shift + i, network tab, open an error there, look through the response. DEBUG=TRUE of course. Google Chrome.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question