Skip to content

Commit d32296d

Browse files
committed
Merge pull request #2762 from DanielleSuurlant/issue-2750
Rewrite validation groups explanation.
2 parents 6f8439b + bd82a55 commit d32296d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

book/validation.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -779,10 +779,9 @@ user registers and when a user updates his/her contact information later:
779779
780780
With this configuration, there are two validation groups:
781781

782-
* ``Default`` - contains the constraints not assigned to any other group;
783-
784-
* ``User`` - contains the constraints that belongs to group ``Default``
785-
(this group is useful for :ref:`book-validation-group-sequence`);
782+
* ``User`` - contains the constraints that belong to no other group,
783+
and is considered the ``Default`` group. (This group is useful for
784+
:ref:`book-validation-group-sequence`);
786785

787786
* ``registration`` - contains the constraints on the ``email`` and ``password``
788787
fields only.

0 commit comments

Comments
 (0)