fixed up genres.html, publisers.html to work, tweaked menu structure -- still more placeholders than working for now, but started on an Admin menu to allow dealing with genres, covertypes, conditions, etc.
This commit is contained in:
7
main.py
7
main.py
@@ -120,16 +120,11 @@ def book(id):
|
||||
|
||||
book_s['sub_book'] = sub_book
|
||||
|
||||
# print( "parent book details:" )
|
||||
# print( book.parent_ref )
|
||||
# print( "child book details:" )
|
||||
# print( book.child_ref )
|
||||
|
||||
return render_template("book.html", books=book_s, subs=sub_book )
|
||||
|
||||
@app.route("/", methods=["GET"])
|
||||
def main_page():
|
||||
return render_template("main.html")
|
||||
return render_template("base.html")
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", debug=True)
|
||||
|
||||
Reference in New Issue
Block a user