Skip to content

Rewrite validation groups explanation. #2762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions book/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,9 @@ user registers and when a user updates his/her contact information later:

With this configuration, there are two validation groups:

* ``Default`` - contains the constraints not assigned to any other group;

* ``User`` - contains the constraints that belongs to group ``Default``
(this group is useful for :ref:`book-validation-group-sequence`);
* ``User`` - contains the constraints that belong to no other group,
and is considered the ``Default`` group. (This group is useful for
:ref:`book-validation-group-sequence`);

* ``registration`` - contains the constraints on the ``email`` and ``password``
fields only.
Expand Down