Use model polymorphism
This commit is contained in:
parent
14282427af
commit
5110d6a16b
5 changed files with 20 additions and 13 deletions
|
|
@ -26,6 +26,7 @@ class TransactionTemplate(models.Model):
|
|||
)
|
||||
amount = models.PositiveIntegerField(
|
||||
verbose_name=_('amount'),
|
||||
help_text=_('in centimes'),
|
||||
)
|
||||
template_type = models.CharField(
|
||||
verbose_name=_('type'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue