You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/indexes.rst
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,31 @@
3
3
Indexes
4
4
=======
5
5
6
+
.. _unique_index_page:
7
+
8
+
Unique Index
9
+
-----------------------------
10
+
The :class:`~psqlextra.indexes.UniqueIndex` lets you create a unique index. Normally Django only allows you to create unique indexes by specifying ``unique=True`` on the model field.
11
+
12
+
Although it can be used on any Django model, it is most useful on views and materialized views where ``unique=True`` does not work.
0 commit comments