diff options
author | Tiberiu Ichim <tiberiu.ichim@gmail.com> | 2019-01-05 12:36:57 +0100 |
---|---|---|
committer | Tiberiu Ichim <tiberiu.ichim@gmail.com> | 2019-01-05 12:36:57 +0100 |
commit | 468d6c86a076623e5ea7c38cd8b2547e6f9f1529 (patch) | |
tree | e5bec1705b6392438c2635c8aa91a1879c452d9e | |
parent | 0060b2ec28f00b59c0f0d3fa19a1715f1c7c6513 (diff) | |
download | w3blog-468d6c86a076623e5ea7c38cd8b2547e6f9f1529.tar.gz w3blog-468d6c86a076623e5ea7c38cd8b2547e6f9f1529.zip |
Comment publish date for comments, there's no migration to create that column
-rwxr-xr-x | weblog/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weblog/models.py b/weblog/models.py index 1ccfbd0..dac8d1e 100755 --- a/weblog/models.py +++ b/weblog/models.py @@ -119,7 +119,7 @@ class PostComment(models.Model): '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')) + # publish_date = models.DateTimeField(verbose_name=_('Publish date')) class Meta: verbose_name = pgettext_lazy('Noun', 'Comment') |