Commit 6e5e1a38 authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed #24645 -- Documented use of HStoreExtension.

Backport of d3bf5e7b from master
parent 70ff455a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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