1
0
mirror of https://github.com/django/django.git synced 2025-03-28 02:00:45 +00:00

[1.8.x] Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query.

Backport of c954931abd17f8efaa6b7662ac2916dbf47d2978 from master
This commit is contained in:
Tim Graham 2015-05-31 06:23:39 -04:00
parent 2456276b02
commit b8dce1af3a

View File

@ -274,7 +274,7 @@ HStoreField
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';``
``CREATE EXTENSION IF NOT EXISTS hstore;``
You'll see an error like ``can't adapt type 'dict'`` if you skip the first
step, or ``type "hstore" does not exist`` if you skip the second.