From c709583e06871838fb95c082d6b0604139879a8f Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 25 Jul 2017 14:07:20 +0200 Subject: [PATCH] Activity parent nullable --- event/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/event/models.py b/event/models.py index 66db679..957e13a 100644 --- a/event/models.py +++ b/event/models.py @@ -167,6 +167,7 @@ class Activity(AbstractActivityTemplate): ActivityTemplate, related_name="children", blank=True, + null=True, ) staff = models.ManyToManyField( User,