def index(): developers_app = Application.find(author=warden.current_user()) return render_template('developer/index.html', apps=developers_app)
def by_author(nickname): author = User.get(nickname) apps = Application.find(author) return render_template('appstore/by_author.html', apps=apps, author=author)