pay.models.payable
Classes
Links the parent model with 0 to n |
|
Same as |
Functions
|
Module Contents
- class pay.models.payable.PayableBase[source]
-
- property payable_reference: str[source]
A string which identifies this payable in payment lists. Do not join any values here as it can lead to an explosion of executed queries!
By default we use the table name plus a hash derived from the primary key values of the table. This ensures that we do not accidentally leak secrets.
In practice, this reference should be customised for each payable.
- class pay.models.payable.Payable[source]
Bases:
PayableBase
Links the parent model with 0 to n
Payment
records through an automatically generated association table.