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


Ignore:
Timestamp:
09/20/19 19:00:40 (4 years ago)
Author:
Simon Charette
Comment:

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