Skip to content

Instantly share code, notes, and snippets.

@guyjacks
Created June 3, 2015 02:12
Show Gist options
  • Save guyjacks/6c331a6be90174fcba4e to your computer and use it in GitHub Desktop.
Save guyjacks/6c331a6be90174fcba4e to your computer and use it in GitHub Desktop.
@app.route('/')
def index():
print('index hit')
films = Film.query.all()
return render_template('index.html', films=films)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment