code formatting

This commit is contained in:
Dipen Patel 2017-06-06 09:18:02 +05:30
parent 29ff92f19a
commit 09435982e4

View file

@ -171,7 +171,8 @@ class Post(KnockerModel, ModelMeta, TranslatableModel):
translations = TranslatedFields(
title=models.CharField(_('title'), max_length=255),
slug=models.SlugField(_('slug'), max_length=255, blank=True, db_index=True, allow_unicode=True),
slug=models.SlugField(_('slug'), max_length=255, blank=True,
db_index=True, allow_unicode=True),
abstract=HTMLField(_('abstract'), blank=True, default=''),
meta_description=models.TextField(verbose_name=_('post meta description'),
blank=True, default=''),
@ -186,7 +187,8 @@ class Post(KnockerModel, ModelMeta, TranslatableModel):
)
content = PlaceholderField('post_content', related_name='post_content')
liveblog = PlaceholderField('live_blog', related_name='live_blog')
enable_liveblog = models.BooleanField(verbose_name=_('enable liveblog on post'), default=False)
enable_liveblog = models.BooleanField(verbose_name=_('enable liveblog on post'),
default=False)
objects = GenericDateTaggedManager()
tags = TaggableManager(blank=True, related_name='djangocms_blog_tags')