1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-03 13:46:58 +00:00
This commit is contained in:
Pierre-antoine Comby 2020-02-23 21:05:51 +01:00
parent 4de817bd75
commit f5a80dd0a5

View File

@ -182,15 +182,15 @@ class TemplateTransaction(Transaction):
template = models.ForeignKey(
TransactionTemplate,
null=True
on_delete=models.SET_NULL
null=True,
on_delete=models.SET_NULL,
)
category = models.ForeignKey(
TemplateCategory,
on_delete=models.PROTECT
on_delete=models.PROTECT,
)
name = models.CharField(
max_length=255
max_length=255,
)