Answer the question
In order to leave comments, you need to log in
How to display values in django without sending them to the template?
In php, you can do print_r($array) in the code and see all the values of the array, selections from the database. But how to do the same in django, without sending it to the template?
Answer the question
In order to leave comments, you need to log in
Also, print(array) and look in the console. It's better to use logging.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question