Skip to content

Instantly share code, notes, and snippets.

@abhisuri97
Created November 27, 2017 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhisuri97/732b9b04e90599ad696f0fbf0489ba9a to your computer and use it in GitHub Desktop.
Save abhisuri97/732b9b04e90599ad696f0fbf0489ba9a to your computer and use it in GitHub Desktop.
@club.route('/<int:club_id>')
@club.route('/<int:club_id>/info')
@login_required
def club_info(club_id):
"""View a club."""
club = Club.query.filter_by(id=club_id).first()
return render_template('club/manage_club.html', club=club)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment