use PA class for __repr__ inheritence for Status
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
|
from shared import PA
|
||||||
|
|
||||||
### shared variables to show state of save/delete when we redirect to 'show all' view
|
### 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
|
# 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
|
# 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
|
# the html files, and they show once for success/green, and sticky for danger/red
|
||||||
class Status:
|
class Status(PA):
|
||||||
alert="success"
|
alert="success"
|
||||||
message=""
|
message=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user