changed publisher link over to a 1-to-many, removed book_publisher_link table, etc. fully works in show books, edit book for publisher now
This commit is contained in:
@@ -68,3 +68,6 @@ def publisher(id):
|
||||
publisher_form = PublisherForm(request.values, obj=publisher)
|
||||
message=""
|
||||
return render_template("edit_id_name.html", publisher=publisher, alert=alert, message=message, form=publisher_form, page_title='Edit Publisher')
|
||||
|
||||
def GetPublisherById(id):
|
||||
return Publisher.query.get(id).name
|
||||
|
||||
Reference in New Issue
Block a user