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 2d3bd8e

Browse filesBrowse 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
Copy full SHA for 2d3bd8e

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+2
-2
lines changed

‎validation/groups.rst

Copy file name to clipboardExpand all lines: validation/groups.rst
+1-1Lines 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

Copy file name to clipboardExpand all lines: validation/sequence_provider.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.