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

Тел: +7 965 3737 888

478

Просмотров

1

Ответов

cache_page that does nothing

<p>When debugging/developing you want to be able to refresh your views every time you make a little change. But when in production mode you might want to cache these views because they contain long and resource hungry calculations or something.</p>
<p>By putting this above "hack" in after importing cache_page you only cache the views in production mode. </p>

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

Ответы (1):

Ответlarin:21.08.2009
Ответ полезен? Да0/Нет0

@gregb

+100 =)))