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 230c4fc

Browse filesBrowse files
peterrehmweaverryan
authored andcommitted
Corrected validation information on inheritance
1 parent 99aca45 commit 230c4fc
Copy full SHA for 230c4fc

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.