I'm using HstoreField in one of my models and when I try to test it I got 
an error psycopg2.ProgrammingError: ERROR: function hstore(integer[], 
text[]) does not exist. If I understand this problem correctly it happend 
because hstore extension wasn't setup in database as it was did in 
migrations by adding HStoreExtension operation (documentation 
<https://docs.djangoproject.com/en/1.9/ref/contrib/postgres/fields/#hstorefield>
).

How to setup hstore extension in default test database and solve my problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cae8d7f4-2385-41ae-ba76-9961556b5295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to