summaryrefslogtreecommitdiff
path: root/polls
diff options
context:
space:
mode:
authoretienne2008-08-24 22:54:51 +0000
committeretienne2008-08-24 22:54:51 +0000
commit5b13731e4c899e86cabf3c6eb7e343b178d70f05 (patch)
treef54640fbf21ab705e86dc4532c54f760812b16e0 /polls
parent897033260fbfcf7c3dd0bc0dcc7e1624a2672878 (diff)
Few bug correction
Diffstat (limited to 'polls')
-rw-r--r--polls/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/polls/models.py b/polls/models.py
index fd5f0a9..bf9ef15 100644
--- a/polls/models.py
+++ b/polls/models.py
@@ -65,7 +65,7 @@ class Choice(models.Model):
poll = models.ForeignKey(Poll)
name = models.CharField(maxlength=200)
order = models.IntegerField()
- limit = models.IntegerField()
+ limit = models.IntegerField(null=True)
available = models.BooleanField(default=True)
class Admin:
pass
@@ -78,4 +78,4 @@ class Vote(models.Model):
VOTE = ((1, (_('Yes'), _('Yes'))),
(0, (_('No'), _('Maybe')), ),
(-1, (_('No'), _('No'))),)
- value = models.IntegerField(choices=VOTE, null=True) \ No newline at end of file
+ value = models.IntegerField(choices=VOTE, null=True)