Thursday, March 15, 2012

models and NULL in postgres

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 are set as NOT NULL, which implies they should not allow null values to be saved.  Is there some bug with django and postres, which I am not aware of?  Maybe just a bug in phppgadmin.  Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/WPIOw8u8trkJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate