1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

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

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: