Bases: object
Makes the mixed in object statusable.
This mixin adds status and status_list attributes to the mixed in class. Any object that needs a status and a corresponding status list can include this mixin.
When mixed with a class which don’t have an __init__ method, the mixin supplies one, and in this case the parameters below must be defined.
Parameters: |
|
---|
Methods
__init__([status, status_list]) |
Attributes
status | Describes an object property that holds a single item or list of items that correspond to a related database table. |
status_id | Represents a column in a database table. |
status_list | Describes an object property that holds a single item or list of items that correspond to a related database table. |
status_list_id | Represents a column in a database table. |