Re: BooleanFields should default to False

2006-10-04 Thread SmileyChris
Don Arbow wrote: > No, a BooleanField should not default to False, the default should be > application specific. If you want a default value, specify it in your > model definition. I don't have to specify a default value of an empty string for my CharField. Why should I have to specify a default

Re: BooleanFields should default to False

2006-10-02 Thread Don Arbow
On Oct 2, 2006, at 9:14 PM, SmileyChris wrote:So, it seems obvious enough that a BooleanField should default to Falserather than return an empty string. What does an empty string mean interms of a BooleanField anyway? I'd assume False :)No, a BooleanField should not default to False, the default sh

BooleanFields should default to False

2006-10-02 Thread SmileyChris
I posted the ticket http://code.djangoproject.com/ticket/2855, but just wanted to make sure it makes sense to the developers. My test models: from django.db import models class TestCharModel(models.Model): testchar = models.CharField() class TestBoolModel(models.Model): testbool = models