summaryrefslogtreecommitdiff
path: root/polls/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'polls/models.py')
-rw-r--r--polls/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polls/models.py b/polls/models.py
index f4cf93a..7128e0d 100644
--- a/polls/models.py
+++ b/polls/models.py
@@ -90,4 +90,4 @@ class Vote(models.Model):
VOTE = ((1, (_('Yes'), _('Yes'))),
(0, (_('No'), _('Maybe')), ),
(-1, (_('No'), _('No'))),)
- value = models.IntegerField(choices=VOTE, blank=True)
+ value = models.IntegerField(choices=VOTE, blank=True, null=True)