Changes between Initial Version and Version 1 of Ticket #24489, comment 1
- Timestamp:
- Mar 16, 2015, 6:55:24 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24489, comment 1
initial v1 1 1 I'm marking this as invalid: 2 2 3 - Validation is not handled by the model, but rather by the database and model forms. Model forms enforce the minimal value.3 - Most validation is not handled by the model, but rather by the database and model forms. Model forms enforce the minimal value. 4 4 - The documentation makes no claims on which values are not supported, only on which values are guaranteed to be supported. Other than that, it is backend-dependant. SQLite does not enforce any restrictions, but most other backends do. 5 5 - The value on a model is never changed by saving it, so `post.views` will always be `-10` instead of the actual database value. For MySQL and probably other backends, the value is correctly set to `0` when reloaded from the database.