This commit is contained in:
Pierre-antoine Comby 2020-02-23 21:05:51 +01:00
parent 4de817bd75
commit f5a80dd0a5
1 changed files with 4 additions and 4 deletions

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