X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/13f3329504332cdb807d3ba925a1f31f2856404d..2be35cd176b907e93f663618d000522c2920923f:/migdal/models.py 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)