aboutsummaryrefslogtreecommitdiff
path: root/weblog/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'weblog/models.py')
-rwxr-xr-xweblog/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/weblog/models.py b/weblog/models.py
index 3830f6f..cccb8d3 100755
--- a/weblog/models.py
+++ b/weblog/models.py
@@ -80,6 +80,7 @@ class PostComment(models.Model):
author = models.ForeignKey(User, verbose_name=_('Author'), null=True, blank=True, on_delete=models.PROTECT)
post = models.ForeignKey(BlogPost, verbose_name=pgettext_lazy('Noun, as in blog post', 'Post'), on_delete=models.CASCADE)
content = models.TextField(verbose_name=pgettext_lazy('Of post, comment, article, etc.', 'Content'), blank=False)
+ publish_date = models.DateTimeField(verbose_name=_('Publish date'))
class Meta:
verbose_name = pgettext_lazy('Noun', 'Comment')