HStoreField docs ask you to install the extension by adding a hyphen.
You can create an empty migration using the command
./manage.py makemigrations yourapp --empty
In the created migration file, you can import the extension,
django.contrib.postgres.operations import HStoreExtension
and add it to the list of operations.
operations = [
HStoreExtension(),
]
, HStoreField .
. , postgres Django. : HStoreExtension() UnaccentExtension.