예제 #1
0
def index():
    return render_template("index.html", all_dojos=Dojo.show_all())
예제 #2
0
def new_ninja():
    return render_template("new_ninja.html", all_dojos=Dojo.show_all())
예제 #3
0
def new_dojo():
    Dojo.new_dojo(request.form)
    return render_template("index.html", all_dojos=Dojo.show_all())