use PA class for __repr__ inheritence for Status

This commit is contained in:
2021-08-30 17:55:15 +10:00
parent dc4ff64600
commit 8c3531d99a

View File

@@ -1,8 +1,10 @@
from shared import PA
### shared variables to show state of save/delete when we redirect to 'show all' view
# used mostly to note we have create a job for the job manager, or when a job finishes
# including when duplicates are found on import. These status messages are exposed into
# the html files, and they show once for success/green, and sticky for danger/red
class Status:
class Status(PA):
alert="success"
message=""