D
D
Dauren S2016-10-01 09:55:09
Django
Dauren S, 2016-10-01 09:55:09

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

1 answer(s)
R
Roman Kitaev, 2016-10-01
@deliro

Also, print(array) and look in the console. It's better to use logging.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question