1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-04 06:06:53 +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( template = models.ForeignKey(
TransactionTemplate, TransactionTemplate,
null=True null=True,
on_delete=models.SET_NULL on_delete=models.SET_NULL,
) )
category = models.ForeignKey( category = models.ForeignKey(
TemplateCategory, TemplateCategory,
on_delete=models.PROTECT on_delete=models.PROTECT,
) )
name = models.CharField( name = models.CharField(
max_length=255 max_length=255,
) )