summaryrefslogtreecommitdiff
path: root/apps/links/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/links/models.py')
-rw-r--r--apps/links/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/links/models.py b/apps/links/models.py
index 4288351..e8fee43 100644
--- a/apps/links/models.py
+++ b/apps/links/models.py
@@ -26,7 +26,7 @@ class Link(models.Model):
screen_url = models.CharField(max_length=400, blank=True)
rating = models.CharField(max_length=1, choices=RATINGS)
pub_date = models.DateTimeField()
- enable_comments = models.BooleanField(blank=True, null=True)
+ enable_comments = models.NullBooleanField(default=False)
PUB_STATUS = (
(0, 'Private'),
(1, 'Public'),