comparison news/models.py @ 1005:9fc12bbc8c81

Tweaks for news v2.0 with old news pending stories present.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 Nov 2015 23:16:07 -0600
parents 28d68f97cb26
children
comparison
equal deleted inserted replaced
1003:fa52bfb28217 1005:9fc12bbc8c81
51 tags = TagField() 51 tags = TagField()
52 front_page_expiration = models.DateField(null=True, blank=True) 52 front_page_expiration = models.DateField(null=True, blank=True)
53 update_date = models.DateTimeField(db_index=True, blank=True) 53 update_date = models.DateTimeField(db_index=True, blank=True)
54 priority = models.IntegerField(db_index=True, default=0, blank=True) 54 priority = models.IntegerField(db_index=True, default=0, blank=True)
55 meta_description = models.TextField(blank=True) 55 meta_description = models.TextField(blank=True)
56 short_markup = models.TextField(default='') 56 short_markup = models.TextField(default='', blank=True)
57 long_markup = models.TextField(default='', blank=True) 57 long_markup = models.TextField(default='', blank=True)
58 admin_content = models.TextField(default='', blank=True) 58 admin_content = models.TextField(default='', blank=True)
59 version = models.SmallIntegerField(default=NEWS_VERSION) 59 version = models.SmallIntegerField(default=NEWS_VERSION)
60 60
61 class Meta: 61 class Meta: