[2.2.x] Removed unneeded non-breaking spaces added in 00169bc36

Backport of 8590726a5d from master.
This commit is contained in:
Claude Paroz 2019-06-22 10:26:14 +02:00
parent 2525785880
commit 3b2701e4f2
1 changed files with 3 additions and 3 deletions

View File

@ -30,10 +30,10 @@ option.
.. admonition:: Validation of Constraints
In general constraints are **not** checked during ``full_clean()``, and do
not raise ``ValidationError``\s. Rather you'll get a database integrity
In general constraints are **not** checked during ``full_clean()``, and do
not raise ``ValidationError``\s. Rather you'll get a database integrity
error on ``save()``. ``UniqueConstraint``\s are different in this regard,
in that they leverage the existing ``validate_unique()`` logic, and thus
in that they leverage the existing ``validate_unique()`` logic, and thus
enable two-stage validation. In addition to ``IntegrityError`` on
``save()``, ``ValidationError`` is also raised during model validation when
the ``UniqueConstraint`` is violated.