3 ms·
It used to not be IIRC. This was over a decade ago, so my information is likely outdated, but it might explain why other languages chose not to implement it. Fu
by withinboredom 3y ago
It used to not be IIRC. This was over a decade ago, so my information is likely outdated, but it might explain why other languages chose not to implement it. Further, a model may be valid, but make no sense to an application. For example, a car may have 6 wheels and still be a car ... but might be out-of-bounds for a simulation expecting 4 wheels.
- evantbyrne 3y agoMust have been well over a decade because Django models have had deep integration with the form validation API since I started my career.
- stuartjohnson12 3y agoI can confirm you can do this validation now, but it's not super-super easy.