Commit 98dfcae7 authored by Christophe Siraut's avatar Christophe Siraut

test: fix NOT NULL constraint failed

parent 16eeb4f1
...@@ -31,7 +31,7 @@ user_logged_in.connect(login_handler) ...@@ -31,7 +31,7 @@ user_logged_in.connect(login_handler)
class UserProfile(models.Model): class UserProfile(models.Model):
user = models.OneToOneField(User) user = models.OneToOneField(User)
email_notifications = models.BooleanField() email_notifications = models.BooleanField(default=False)
class Poll(models.Model): class Poll(models.Model):
......
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