예제 #1
0
def make_demoncity_char():
    return render_template("demoncity.html", c=demoncity.Character())
예제 #2
0
def make_demoncity_text_char():
    mimetype = "text/plain"
    content = render_template("demoncity.txt", c=demoncity.Character())
    return Response(content, status=200, mimetype=mimetype)