from django.utils.translation import get_language, ugettext_lazy as _, ugettext
from django_comments_xtd.models import XtdComment
from markupfield.fields import MarkupField
from django.utils.translation import get_language, ugettext_lazy as _, ugettext
from django_comments_xtd.models import XtdComment
from markupfield.fields import MarkupField
class Entry(models.Model):
type = models.CharField(max_length=16,
choices=((t.db, t.slug) for t in app_settings.TYPES),
class Entry(models.Model):
type = models.CharField(max_length=16,
choices=((t.db, t.slug) for t in app_settings.TYPES),
categories = models.ManyToManyField(Category, null=True, blank=True, verbose_name=_('categories'))
first_published_at = models.DateTimeField(_('published at'), null=True, blank=True)
categories = models.ManyToManyField(Category, null=True, blank=True, verbose_name=_('categories'))
first_published_at = models.DateTimeField(_('published at'), null=True, blank=True)