File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
user_guide_src/source/models Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -649,11 +649,14 @@ Cleans out the database table by permanently removing all rows that have 'delete
649649In-Model Validation
650650===================
651651
652+ .. warning :: In-Model validation is performed just before data is stored in the
653+ database. Prior to that point, the data has not yet been validated. Processing
654+ user-input data prior to validation may introduce vulnerabilities.
655+
652656Validating Data
653657---------------
654658
655- For many people, validating data in the model is the preferred way to ensure the data is kept to a single
656- standard, without duplicating code. The Model class provides a way to automatically have all data validated
659+ The Model class provides a way to automatically have all data validated
657660prior to saving to the database with the ``insert() ``, ``update() ``, or ``save() `` methods.
658661
659662.. important :: When you update data, by default, the validation in the model class only
You can’t perform that action at this time.
0 commit comments