summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Holop <fholop@ripe.net>2020-05-26 13:04:40 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-27 11:14:31 +0200
commita79d0c8c81847e9ccde42e406bb5b411bab4214a (patch)
treee3f79b3dcef4df186960ddde9d8e5f6aef3d45e5
parent36d5646aff4b06e6cd3e52eab3bf946b8c714656 (diff)
[3.1.x] Refs #31615 -- Improved creating extension docs.
Backport of f3ed42c8ad3757e7238bf2f326532f5b129aa102 from master
-rw-r--r--docs/ref/contrib/postgres/operations.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/contrib/postgres/operations.txt b/docs/ref/contrib/postgres/operations.txt
index 620e5db8b7..3943bc7a73 100644
--- a/docs/ref/contrib/postgres/operations.txt
+++ b/docs/ref/contrib/postgres/operations.txt
@@ -30,11 +30,11 @@ For example::
...
]
-Creating the extension requires a database user with superuser privileges.
-If the Django database user doesn't have superuser privileges, you'll have
-to create the extension outside of Django migrations with a user that has
-the appropriate privileges. In that case, connect to your Django database and
-run the query ``CREATE EXTENSION IF NOT EXISTS hstore;``.
+For most extensions, this requires a database user with superuser privileges.
+If the Django database user doesn't have the appropriate privileges, you'll
+have to create the extension outside of Django migrations with a user that has
+them. In that case, connect to your Django database and run the query
+``CREATE EXTENSION IF NOT EXISTS hstore;``.
.. currentmodule:: django.contrib.postgres.operations