Custom fields and apps should have a way to hook into BaseCommand.validate
|Reported by:||jdunck||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Right now, management.validation.get_validation_errors has a long chain of elif isinstance's for built-in fields.
It should be possible for custom fields to participate in this model-declaration validation phase.
Change History (7)
comment:1 Changed 4 years ago by carljm
- Triage Stage changed from Unreviewed to Accepted
- Version changed from 1.3 to SVN
comment:2 Changed 4 years ago by carljm
- Summary changed from Custom fields should be included in BaseCommand.validate to Custom fields and apps should have a way to hook into BaseCommand.validate
comment:4 Changed 21 months ago by Russell Keith-Magee <russell@…>
- Resolution set to fixed
- Status changed from new to closed