Commit efc7f7a7 authored by Christophe Siraut's avatar Christophe Siraut
Browse files

Django 1.6 changed the default value of BooleanField from False to None

parent 00bd40ed
......@@ -123,7 +123,7 @@ class Bulletin(models.Model):
class Vote(models.Model):
choice = models.ForeignKey(Choice)
bulletin = models.ForeignKey(Bulletin)
voice = models.BooleanField()
voice = models.BooleanField(default=False)
comment = models.CharField(max_length=80, blank=True)
class Meta:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment