예제 #1
0
def homepage():
    dojos = Dojo.get_all()
    return render_template('index.html', dojos=dojos)
예제 #2
0
def home_page():
    return render_template("index.html", dojos=Dojo.get_all())
예제 #3
0
def new_ninja():
    return render_template("create_ninja.html", dojos=Dojo.get_all())
예제 #4
0
def dojos_index():
    return render_template('dojos_main.html', all_dojos=Dojo.get_all())
예제 #5
0
def ninjas_index():
    return render_template('add_ninja.html', all_dojos=Dojo.get_all())