From 2d3bd8ed7aeac1bb55cd36ae69704434bde5e8bb Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 23 Feb 2018 11:32:21 +0100 Subject: [PATCH] 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. --- validation/groups.rst | 2 +- validation/sequence_provider.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/validation/groups.rst b/validation/groups.rst index 89ca9bf0dfb..30a4fa3da19 100644 --- a/validation/groups.rst +++ b/validation/groups.rst @@ -137,7 +137,7 @@ With this configuration, there are three validation groups: ``User`` Equivalent to all constraints of the ``User`` object in the ``Default`` group. This is always the name of the class. The difference between this - and ``Default`` is explained below. + and ``Default`` is explained in :doc:`/validation/sequence_provider`. ``registration`` Contains the constraints on the ``email`` and ``password`` fields only. diff --git a/validation/sequence_provider.rst b/validation/sequence_provider.rst index 416cf1b84df..29582507021 100644 --- a/validation/sequence_provider.rst +++ b/validation/sequence_provider.rst @@ -128,7 +128,7 @@ that group are valid, the second group, ``Strict``, will be validated. .. caution:: - As you have already seen in the previous section, the ``Default`` group + As you have already seen in :doc:`/validation/groups`, the ``Default`` group and the group containing the class name (e.g. ``User``) were identical. However, when using Group Sequences, they are no longer identical. The ``Default`` group will now reference the group sequence, instead of all