@cache.action(time_expire=exp_time, cache_model=cache.disk, vars=False, public=False, lang=True)def contacts():
response.title=T('Контакты') response.not_show_func = True h = CAT( H3(T('Отзывы, Обсуждение, Жалобы, Благодарности')), T('Можно найти в ветке на'),' ', A(T('международном форуме о криптовалютах'), _href='https://bitcointalk.org/index.php?topic=307648.0', _target='_blank'),'. ', T('Там же можно сообщить об ошибке'),'.', H3('Обратная связь'), T('Почтовый ящик'),': ', 'sup...@7Pay.in',BR(), T('Skype'),': ', 'i-creator' ) return dict(h =h)
{{extend 'layout.html'}}
{{if not response.not_show_func:}}<h2>{{=' '.join(x.capitalize() for x in request.function.split('_'))}}</h2>{{pass}}{{if len(response._vars)==1:}}{{=BEAUTIFY(response._vars.values()[0])}}{{elif len(response._vars)>1:}}{{=BEAUTIFY(response._vars)}}{{pass}}{{if request.is_local:}}{{=response.toolbar()}}{{pass}}
@cache.action(time_expire=300, cache_model=cache.ram, quick='SVP')it not use response.vars ? why?
why I cant store title in cache?def contacts():response.title=T('some title')