Skip to content

Instantly share code, notes, and snippets.

@denysonique
Created February 3, 2012 11:03
Show Gist options
  • Save denysonique/1729677 to your computer and use it in GitHub Desktop.
Save denysonique/1729677 to your computer and use it in GitHub Desktop.
from flask import Flask
from flask import render_template
app = Flask(__name__)
@app.route("/dashboard/<variable>")
def dashboard():
return render_template('template_file.html', variable=variable)
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment