pub_data = model._session.query(publication)
pub = pub_data.filter(publication.status == 1).order_by(publication.posttime.desc()).limit(2)
return render("/index.mako")
## -*- coding: utf-8 -*-
% for buff in pub:
${ buff.header }<br />
% endfor
<br /><br />