S
S
Stepan Sidorov2020-08-17 10:59:43
Django
Stepan Sidorov, 2020-08-17 10:59:43

How to track all actions happening in Django?

Hello.
I need to figure out a big project.
But I just can’t understand where what is being called, and I need to make a button on one of the pages, and run a function on it.
How do I print to the console what templates are used, what functions are called, and generally a lot of information.
Something like register in the settings Or somehow under another. Thank you!
BIG_LOG = True

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-08-17
@bacon

https://docs.djangoproject.com/en/3.1/topics/logging/
https://django-debug-toolbar.readthedocs.io/en/latest/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question