Re: models and NULL in postgres

2012-03-15 Thread hack
Ahhh, that makes sense. Thanks. :) On Thursday, March 15, 2012 10:19:47 PM UTC-4, dstufft wrote: > > Django uses an empty string instead of a NULL for an empty value for > CharField and Charfield subclasses > > On Thursday, March 15, 2012 at 10:18 PM, hack wrote: > > Something is a little st

Re: models and NULL in postgres

2012-03-15 Thread Donald Stufft
Django uses an empty string instead of a NULL for an empty value for CharField and Charfield subclasses On Thursday, March 15, 2012 at 10:18 PM, hack wrote: > Something is a little strange with my database. My models have fields where > the value is set as blank=True to allow null values. M

models and NULL in postgres

2012-03-15 Thread hack
Something is a little strange with my database. My models have fields where the value is set as blank=True to allow null values. My forms seem to be saving values to the database just fine, even if the are blank/null. However, when I look at my database in phppgadmin all the rows show they a