Changes between Initial Version and Version 1 of Ticket #24489, comment 1


Ignore:
Timestamp:
Mar 16, 2015, 6:55:24 AM (10 years ago)
Author:
Marten Kenbeek

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24489, comment 1

    initial v1  
    11I'm marking this as invalid:
    22
    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.
    44- 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.
    55- 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.
Back to Top