Skip to content

Commit 2d3bd8e

Browse files
committed
improve validation groups references
Validation groups and group sequence providers are not part of the same document. Thus, referring to "next" or "previous" sections is not really useful.
1 parent 3d91aca commit 2d3bd8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

validation/groups.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ With this configuration, there are three validation groups:
137137
``User``
138138
Equivalent to all constraints of the ``User`` object in the ``Default``
139139
group. This is always the name of the class. The difference between this
140-
and ``Default`` is explained below.
140+
and ``Default`` is explained in :doc:`/validation/sequence_provider`.
141141

142142
``registration``
143143
Contains the constraints on the ``email`` and ``password`` fields only.

validation/sequence_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ that group are valid, the second group, ``Strict``, will be validated.
128128

129129
.. caution::
130130

131-
As you have already seen in the previous section, the ``Default`` group
131+
As you have already seen in :doc:`/validation/groups`, the ``Default`` group
132132
and the group containing the class name (e.g. ``User``) were identical.
133133
However, when using Group Sequences, they are no longer identical. The
134134
``Default`` group will now reference the group sequence, instead of all

0 commit comments

Comments
 (0)