mirror of https://github.com/django/django.git
Refs #30062 -- Corrected UniqueConstraint signature in docs.
This commit is contained in:
parent
fa422dd78b
commit
5402061c80
|
@ -56,7 +56,7 @@ The name of the constraint.
|
||||||
``UniqueConstraint``
|
``UniqueConstraint``
|
||||||
====================
|
====================
|
||||||
|
|
||||||
.. class:: UniqueConstraint(*, fields, name)
|
.. class:: UniqueConstraint(*, fields, name, condition=None)
|
||||||
|
|
||||||
Creates a unique constraint in the database.
|
Creates a unique constraint in the database.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue