program.Event.days: (fields.W340) null has no effect on ManyToManyField.
This commit is contained in:
parent
be7afdebd4
commit
16ad474bdf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue