diff options
author | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-11-12 21:58:26 +0000 |
---|---|---|
committer | luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f> | 2009-11-12 21:58:26 +0000 |
commit | b0464d2bcb252c8d2cef9dfca9dd7b40ec498c55 (patch) | |
tree | f39715fefd2828fd794a25fcf5301ed1ffd14ce0 /apps/links | |
parent | c9022d38a303dcd756d34a2cbc4e3c49b22e0cf2 (diff) |
speed optimizations
Diffstat (limited to 'apps/links')
-rw-r--r-- | apps/links/models.py | 2 |
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'), |