From cbf0f593735e184b4222c2eb6c7330e95657f9fb Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Tue, 21 Jan 2020 22:16:07 +0100 Subject: [PATCH] An activity entry transaction is not mandatory. --- apps/activity/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/activity/models.py b/apps/activity/models.py index 52f4e0b6..4dbc5522 100644 --- a/apps/activity/models.py +++ b/apps/activity/models.py @@ -99,9 +99,10 @@ class Guest(models.Model): null=True, ) entry_transaction = models.ForeignKey( - null=True, 'note.Transaction', on_delete=models.PROTECT, + blank=True, + null=True, ) class Meta: