From 16ad474bdf08c75537baa775804d729a6dfd98c2 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 8 Aug 2016 19:47:48 +0200 Subject: [PATCH] program.Event.days: (fields.W340) null has no effect on ManyToManyField. --- program/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/models.py b/program/models.py index 6b0a4620..93f21e65 100644 --- a/program/models.py +++ b/program/models.py @@ -23,7 +23,7 @@ class Event(CreatedUpdatedModel): slug = models.SlugField(blank=True, max_length=255) abstract = models.TextField() event_type = models.ForeignKey(EventType) - days = models.ManyToManyField('camps.Day', null=True, blank=True) + days = models.ManyToManyField('camps.Day', blank=True) start = models.TimeField(null=True, blank=True) end = models.TimeField(null=True, blank=True)