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 & notes/blurb save too

This commit is contained in:
2020-12-05 11:06:50 +11:00
parent 5057e856be
commit 989c1693f7

25
status.py Normal file
View File

@@ -0,0 +1,25 @@
### shared variables to show state of save/delete when we redirect to 'show all' view
class Status:
alert="success"
message=""
def GetAlert(self):
return self.alert
def SetAlert(self, al):
self.alert=al
return
def GetMessage(self):
return self.message
def SetMessage(self, msg):
self.message=msg
return
def ClearMessage(self):
self.alert="success"
self.message=""
return ""
st=Status()