Ticket #24645: 24645.diff

File 24645.diff, 718 bytes (added by Tim Graham, 6 years ago)
  • docs/ref/contrib/postgres/fields.txt

    diff --git a/docs/ref/contrib/postgres/fields.txt b/docs/ref/contrib/postgres/fields.txt
    index 760286d..084ad8f 100644
    a b HStoreField 
    251251    A field for storing mappings of strings to strings. The Python data type
    252252    used is a ``dict``.
    253253
     254    To use this field, you'll need setup the hstore extension in PostgreSQL by
     255    adding a migration with the
     256    :class:`~django.contrib.postgres.operations.HStoreExtension` operation.
     257    You'll see an error like ``'type "hstore" does not exist'`` if you skip
     258    this step.
     259
    254260.. note::
    255261
    256262    On occasions it may be useful to require or restrict the keys which are
Back to Top