Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Merge pull request #224 from romulocollopy/issue_222
Browse files Browse the repository at this point in the history
add default value to BooleanField to solve issue #222
  • Loading branch information
vandersonmota committed Apr 18, 2015
2 parents 223e1f1 + f0fbda0 commit a4f3cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/generic/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Person(models.Model):
gender = models.CharField(max_length=1, choices=GENDER_CH)
happy = models.BooleanField(default=True)
unhappy = models.BooleanField(default=False)
bipolar = models.BooleanField()
bipolar = models.BooleanField(default=False)
name = models.CharField(max_length=30)
nickname = models.SlugField(max_length=36)
age = models.IntegerField()
Expand Down

0 comments on commit a4f3cdd

Please sign in to comment.