mirror of https://github.com/django/django.git
[1.8.x] Refs #24811 -- Fixed syntax error in CREATE EXTENSION example query.
Backport of c954931abd
from master
This commit is contained in:
parent
2456276b02
commit
b8dce1af3a
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue