Forums

Django Debug=True not showing debug

i change DEBUG=True in settings, but not showing django debug trace

something went wrong

how to show this whenever get error in script ?

enter image description here

this the error message

enter image description here

There's RecursionError: maximum recursion depth exceeded, it looks like your code is in a loop calling itself when it tries to log, so it's not able to get there.

i'm pretty sure my code doesn't have loops, and not creating or writing any logs, and not accessing any folder except /home/arbadzukhron

all i want is django showing its debug trace

But there's a bug in your code, that prevents the correct behavior of Django. You may try to debug it with the check command, see the docs.

solve by uninstalling django-debug-toolbar module

Stackoverflow : no debug tracing using django debug true

Glad to hear that, thanks for sharing!

I have no django-debug-toolbar module installed, I tested that

In [4]: from django.conf import settings
In [5]: settings.DEBUG
Out[5]: True

But I have the same problem reported here.

django.VERSION
Out[2]: (5, 0, 0, 'final', 0)

I see Django 404 when I go to imolineris.pythonanywhere.com, does it mean it's solved?

Did you manage to fix your error? I have the same problem but I can't find a solution.

Feel free to share more details and we will try to help.