I have a Django model and some its fields have the option blank=True
.
But when i migrate the schema with south, this option isn't setted on database.
So doesn't South support this option?
In documentation i cannot find anything about this.
The blank
options doesn't apply to the actual database tables, it only effects how validation in the admin/forms is handled (you can enter blank strings). If you want to allow NULL then the option you want is null=True
, which South does support.
See the discussion of blank vs null in the documentation