Changes between Initial Version and Version 1 of Ticket #30581, comment 4


Ignore:
Timestamp:
Sep 20, 2019, 2:00:40 PM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30581, comment 4

    initial v1  
    11FWIW 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
     3I'm not against an overridable hook but it should default to query the database (e.g. `'SELECT %s > %s', (age, 18)`).
Back to Top