summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-04-16 07:22:01 -0400
committerTim Graham <timograham@gmail.com>2015-04-16 07:25:38 -0400
commit6e5e1a380ce45e1fd828e610f878b0285b668af4 (patch)
treefc2b7ae9b8853a7cb8e034654e92a3a7d13341d5 /docs
parent70ff455a35066a1b6e2db03f211f56c7b38285eb (diff)
[1.8.x] Fixed #24645 -- Documented use of HStoreExtension.
Backport of d3bf5e7b0016edc02e125699c0b0d3aa93404940 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/fields.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt
index 760286dcac..1a1d228da9 100644
--- a/docs/ref/contrib/postgres/fields.txt
+++ b/docs/ref/contrib/postgres/fields.txt
@@ -251,6 +251,12 @@ HStoreField
A field for storing mappings of strings to strings. The Python data type
used is a ``dict``.
+ To use this field, you'll need to setup the hstore extension in PostgreSQL
+ by adding a migration with the
+ :class:`~django.contrib.postgres.operations.HStoreExtension` operation.
+ You'll see an error like ``'type "hstore" does not exist'`` if you skip
+ this step.
+
.. note::
On occasions it may be useful to require or restrict the keys which are