def home(): return render_template( 'index/index.html', good_users=User.get_featured(limit=4, with_logos=True), bad_users=User.get_featured(in_deadbeat_club=True, limit=1, with_logos=True), )
def get_featured_users(self, **kwargs): return User.get_featured(tier_id=self.id, **kwargs)
def account_type(): return render_template( 'users/account-type.html', tiers=Tier.get_available(sort=True), featured_users=User.get_featured() )
def bad_customers(): return render_template( 'index/bad-customers.html', bad_users=User.get_featured(in_deadbeat_club=True), )
def account_type(): return render_template('users/account-type.html', tiers=Tier.get_available(sort=True), featured_users=User.get_featured())