S
S
Sergey2016-11-03 16:20:58
Django
Sergey, 2016-11-03 16:20:58

Does Django have an analogue of dd() like in Laravel?

Does Django have an analogue of dd() like in Laravel?
And if not, how can something like this be done?
Since in Laravel during the development phase, the dd function was very convenient.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2016-11-03
@kentuck1213

В свое время тоже искал подобное но, не нашёл. Вот один из способов смотеть что внутри:

hh = "HEllo World"
print(hh);

Открываете терминал и там будут отображены данные переменной hh

Z
zelsky, 2016-11-03
@zelsky

А зачем тогда придумано logger.DEBUG ?

Алексей Овдиенко, 2016-11-03
@doubledare

Pycharm имеет классный дебагер

I
iMrDron, 2017-02-21
@iMrDron

ipdb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question