Commits

Kenneth Gonsalves committed 71c974a

changed private as NullBooleanField - theju patch

  • Participants
  • Parent commits 7538b53

Comments (0)

Files changed (1)

File web/models.py

     photo = models.ImageField(_("Photo"), upload_to="delphotos/", blank=True, null=True)
     joindate = models.DateTimeField(_("Date of registration"),default=datetime.now,
                                     editable=False)
-    private = models.BooleanField(_("Keep my email private"),blank=True,null=True)
+    private = models.NullBooleanField(_("Keep my email private"),blank=True)
     teesize = models.CharField(_("Tee shirt size"),choices = TEE_SIZES,
                         max_length=2,blank=True,null=True)