X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/f41fb09cefa2fca8d5c1e9314bcaa3591590a74c..2eb49192f504dbabdfef9614f93fdc97cc9e6365:/migdal/models.py?ds=inline diff --git a/migdal/models.py b/migdal/models.py index b3238b7..d0b16c0 100644 --- a/migdal/models.py +++ b/migdal/models.py @@ -60,7 +60,7 @@ class Entry(models.Model): image = models.ImageField(_('image'), upload_to='entry/image/', null=True, blank=True) promo = models.BooleanField(_('promoted'), default=False) in_stream = models.BooleanField(_('in stream'), default=True) - categories = models.ManyToManyField(Category, null=True, blank=True, verbose_name=_('categories')) + categories = models.ManyToManyField(Category, blank=True, verbose_name=_('categories')) first_published_at = models.DateTimeField(_('published at'), null=True, blank=True) canonical_url = models.URLField(_('canonical link'), null=True, blank=True)