from migdal import app_settings
+
class Category(models.Model):
taxonomy = models.CharField(_('taxonomy'), max_length=32,
choices=app_settings.TAXONOMIES)
help_text=_('Used only to display gravatar and send notifications.'))
image = models.ImageField(_('image'), upload_to='entry/image/', null=True, blank=True)
promo = models.BooleanField(_('promoted'), default=False)
- categories = models.ManyToManyField(Category, null=True, blank=True)
+ categories = models.ManyToManyField(Category, null=True, blank=True, verbose_name=_('categories'))
class Meta:
verbose_name = _('entry')