def contacts(): contacts_obj = Contact.query( Contact.is_public == True).order(-Contact.order_id) managers = Manager.query(Manager.is_public == True) return flask.render_template('pages/contact.html', title=u'Контакты', contacts=contacts_obj, managers=managers)
def contacts(): contacts_obj = Contact.query(Contact.is_public == True).order(-Contact.order_id) managers = Manager.query(Manager.is_public == True) return flask.render_template( 'pages/contact.html', title=u'Контакты', contacts=contacts_obj, managers=managers )
def index(): contacts = Contact.query().order(-Contact.order_id) return render_template( 'admin/contact/index.html', contacts=contacts )
def index(): contacts = Contact.query().order(-Contact.order_id) return render_template('admin/contact/index.html', contacts=contacts)