Задать вопрос

Тел: +7 965 3737 888

462

Просмотров

2

Ответов

Debug Page Load Time Stats Middleware

Use this to display a split of page execution time between python and the db in your base template when debugging.

I originally got the base of this code from another snippet, but I can't find it anymore and want to share with new folks because I find this handy.

Вопрос полезен? Да0/Нет0
file_3209.py(2.0Кб)
None

Ответы (2):

Ответvaibhav-jain:26.10.2014
Ответ полезен? Да0/Нет0

Stats are printing printing on console fine. But not rendering on page.

Ответvaibhav-jain:26.10.2014
Ответ полезен? Да0/Нет0

I tried your snippet. But it is not rendering stats as it should.