Model validation should complain if both `add_now` and `auto_add_now` are specified.
|Reported by:||charettes||Owned by:||anonymous|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||yes||Patch needs improvement:||no|
It was reported in #21785 that add_now and auto_add_now can be both specified without triggering any kind of warning or validation or value error.
Not sure of the path we want to take here since it should be pretty uncommon and easily fixed by the users. Would an accelerated deprecation be acceptable?
In order to ease the merge of the check framework before the 1.7 alpha we should wait before landing a fix.
Change History (15)
comment:3 Changed 3 days ago by PirosB3
- Owner changed from charettes to anonymous
- Status changed from new to assigned