1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-12-13 14:55:17 +01:00

Use model polymorphism

This commit is contained in:
Alexandre Iooss
2019-07-17 11:17:50 +02:00
parent 14282427af
commit 5110d6a16b
5 changed files with 20 additions and 13 deletions

View File

@@ -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'),