summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-06-27 19:39:37 +0200
committerTim Graham <timograham@gmail.com>2017-06-27 13:39:37 -0400
commit617505ca892fc84c7be1c224ebca2c27f93e8f50 (patch)
treef55bfbb02792f4ddef386f7609ea6f6f27287741 /docs/ref
parentd381914aef50e04ca44b9d7bb9274c8351f5b9bf (diff)
Fixed #28330 -- Prevented passing positional arguments to an Index.
Thanks Tim Graham for the review.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/postgres/indexes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/indexes.txt b/docs/ref/contrib/postgres/indexes.txt
index e364f8d83e..d055a381c5 100644
--- a/docs/ref/contrib/postgres/indexes.txt
+++ b/docs/ref/contrib/postgres/indexes.txt
@@ -12,7 +12,7 @@ available from the ``django.contrib.postgres.indexes`` module.
``BrinIndex``
=============
-.. class:: BrinIndex(fields=[], name=None, pages_per_range=None)
+.. class:: BrinIndex(pages_per_range=None, **options)
Creates a `BRIN index
<https://www.postgresql.org/docs/current/static/brin-intro.html>`_.
@@ -22,7 +22,7 @@ available from the ``django.contrib.postgres.indexes`` module.
``GinIndex``
============
-.. class:: GinIndex(fields=[], name=None, fastupdate=None, gin_pending_list_limit=None)
+.. class:: GinIndex(fastupdate=None, gin_pending_list_limit=None, **options)
Creates a `gin index
<https://www.postgresql.org/docs/current/static/gin.html>`_.