💥 Improve performances
This commit is contained in:
parent
50024dc03d
commit
2eb601bd66
29 changed files with 2387 additions and 774 deletions
|
|
@ -62,6 +62,7 @@ class TransactionTemplate(models.Model):
|
|||
category = models.ForeignKey(
|
||||
TemplateCategory,
|
||||
on_delete=models.PROTECT,
|
||||
related_name='templates',
|
||||
verbose_name=_('type'),
|
||||
max_length=31,
|
||||
)
|
||||
|
|
@ -71,6 +72,11 @@ class TransactionTemplate(models.Model):
|
|||
verbose_name=_("display"),
|
||||
)
|
||||
|
||||
highlighted = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("highlighted"),
|
||||
)
|
||||
|
||||
description = models.CharField(
|
||||
verbose_name=_('description'),
|
||||
max_length=255,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue