From: Guillaume Pellerin Date: Thu, 27 Apr 2017 16:30:52 +0000 (+0200) Subject: Bugfix X-Git-Tag: 1.1~16 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b8d917bb799023981fa1d2e30f9268dd8dbb18e7;p=teleforma.git Bugfix --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 01f1620f..184b76b3 100644 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -506,7 +506,6 @@ class MediaBase(Model): is_published = models.BooleanField(_('published')) mime_type = models.CharField(_('mime type'), max_length=255, blank=True) weight = models.IntegerField(_('weight'), choices=WEIGHT_CHOICES, default=1, blank=True) - periods = models.ManyToManyField('Period', related_name='medias', verbose_name=_('periods'), blank=True) def get_fields(self): return self._meta.fields