Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit1972757

Browse 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 |#4454Minor fix as per Discussion09f9d3d#commitcomment-9150852Commits-------230c4fc Corrected validation information on inheritance
2 parents99aca45 +230c4fc commit1972757

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎book/validation.rst

Lines 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 thedefaultconstraints 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)

[8]ページ先頭

©2009-2025 Movatter.jp