Patch: edit_inline and default on fields don't work together
|Reported by:||hugo <gb@…>||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The empty lines in the edit_inline table (I am using the TABULAR format) don't work nicely together - the empty fields are not set to default values when I define those in the models. Either the system should use the default values when a field that can't be blank is passed in as blank or it should initialize the field to the default values (the latter being more consistent I think). At the moment you will get SQL exceptions if you don't enter data for new lines where fields are defined as NOT NULL in the database.
Change History (3)
comment:1 Changed 10 years ago by hugo <gb@…>
- Summary changed from edit_inline and default on fields don't work together to Patch: edit_inline and default on fields don't work together