aino/django-hstore — pull request #3 by volpino (2012-07-22 16:27:16+00:00)
Title: AttributeError while running tests

I had this error while launching tests for my django application::
File "/home/fox/.virtualenvs/menubase/lib/python2.7/site-packages/django_hstore/postgresql_psycopg2/base.py", line 59, in install_hstore_contrib
if self.connection._version[0:2]>=(9,1):
AttributeError: 'DatabaseWrapper' object has no attribute '_version'

Fixed modifying the check for the version