From f3ed42c8ad3757e7238bf2f326532f5b129aa102 Mon Sep 17 00:00:00 2001 From: Frantisek Holop Date: Tue, 26 May 2020 13:04:40 +0200 Subject: [PATCH] Refs #31615 -- Improved creating extension docs. --- docs/ref/contrib/postgres/operations.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ref/contrib/postgres/operations.txt b/docs/ref/contrib/postgres/operations.txt index b7dc0726e7..8696e4e81f 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