[Django]-Error using Django-Hstore for PostgreSQL HSTORE in Django

2👍

This problem can be easily solved by downgrading Django to version 1.9. It seems the version 1.10 is not stable yet.

pip install Django==1.9

4👍

You don’t need to use Django_Hstore extentions on 1.10.

Add ‘django.contrib.postgres’ in your INSTALLED_APPS.

If hstrone not enabled on Postgres , Run sql script: CREATE EXTENSION IF NOT EXISTS hstore

On Model:
Add: from django.contrib.postgres.fields import HStoreField

Add Field: data = HStoreField()

For More İnformation :

Leave a comment