On 09/10/10 08:06, Tim Diggins wrote:
> It may seem odd but I want to explicitly specify NULL as the default
> for a particular field / column. (This is so that South picks up that
> the default value is null, rather than there being no default
> specified, which is what happens if you specify "null=True"
> 
> any thoughts (or it may just be impossible)

just in case - you may have to do

null=True, blank=True, default=None

on some field types (e.g. char ones which default='' not None, the
latter being mapped to db null, the former a zero-length string).

(though probably not your south-related issue as a default still exists
it just isn't null)




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

Reply via email to