Changes between Initial Version and Version 1 of Ticket #30581, comment 4
- Timestamp:
- Sep 20, 2019, 2:00:40 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30581, comment 4
initial v1 1 1 FWIW I think the validation should be pushed to the database as much as possible. Trying to emulate constraint criterias in Python will hard if not impossible to implement in a correct way for all backends. 2 3 I'm not against an overridable hook but it should default to query the database (e.g. `'SELECT %s > %s', (age, 18)`).