Skip to content

Instantly share code, notes, and snippets.

View OEvgeny's full-sized avatar
🔮
Shading

Eugene OEvgeny

🔮
Shading
View GitHub Profile
@lost-theory
lost-theory / gist:3925780
Created October 21, 2012 04:35
pass mustache template into jinja template
from flask import Flask, render_template_string, request
app = Flask(__name__)
app.config['DEBUG'] = True
@app.route("/")
def index():
#of course you would put these into files
jinja_template = """
{# this is a jinja2 comment #}