Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1972757

Browse filesBrowse files
committed
minor #4775 Corrected validation information on inheritance (peterrehm)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #4775). Discussion ---------- Corrected validation information on inheritance | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - | Related | #4454 Minor fix as per Discussion 09f9d3d#commitcomment-9150852 Commits ------- 230c4fc Corrected validation information on inheritance
2 parents 99aca45 + 230c4fc commit 1972757
Copy full SHA for 1972757

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎book/validation.rst

Copy file name to clipboardExpand all lines: book/validation.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,8 +844,8 @@ the string ``Default``.
844844
If you have inheritance (e.g. ``User extends BaseUser``) and you validate
845845
with the class name of the subclass (i.e. ``User``), then all constraints
846846
in the ``User`` and ``BaseUser`` will be validated. However, if you validate
847-
using the base class (i.e. ``BaseUser``), then only the constraints in
848-
the ``BaseUser`` group will be validated.
847+
using the base class (i.e. ``BaseUser``), then only the default constraints in
848+
the ``BaseUser`` class will be validated.
849849

850850
To tell the validator to use a specific group, pass one or more group names
851851
as the second argument to the ``validate()`` method::

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.