python - Installing hstore extension in django nose tests -


i've installed hstore extension successfully, , works when syncdb. (i'm using djorm-ext-hstore)

however, nose creates new temp database run tests in, , hstore not installed in it.

i need run create extension hstore; on test db right before nose syncs db, can't find info on how that.

any ideas?

this non-issue: best way fix apply hstore extension on default database, template1

psql -d template1 -c 'create extension hstore;'

reference: how create new database hstore extension installed?


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -