An activity entry transaction is not mandatory.

This commit is contained in:
Pierre-antoine Comby 2020-01-21 22:16:07 +01:00
parent bb38442641
commit cbf0f59373
1 changed files with 2 additions and 1 deletions

View File

@ -99,9 +99,10 @@ class Guest(models.Model):
null=True, null=True,
) )
entry_transaction = models.ForeignKey( entry_transaction = models.ForeignKey(
null=True,
'note.Transaction', 'note.Transaction',
on_delete=models.PROTECT, on_delete=models.PROTECT,
blank=True,
null=True,
) )
class Meta: class Meta: