django-hstore compatibility issue with Django 1.6

django-hstore seems to be not compatible with Django 1.6. I have this error on runserver. With Django 1.5.5 everything was correct. Any idea what could be the problem?

Note that I have changed the simplejson import by import json as mentionned in the warning but the problem persists.

C:\Python27\lib\site-packages\django_orm\postgresql\hstore\ Deprecati
onWarning: django.utils.simplejson is deprecated; use json instead.
from django.utils import simplejson as json

Unhandled exception in thread started by
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django\utils\", line 93, in w
fn(args, *kwargs)
File "C:\Python27\lib\site-packages\django\core\management\commands\runserver.
py", line 98, in inner_run
File "C:\Python27\lib\site-packages\django\core\management\", line 310,
in validate
num_errors = get_validation_errors(s, app)
File "C:\Python27\lib\site-packages\django\core\management\", lin
e 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "C:\Python27\lib\site-packages\django\db\models\", line 196, in
File "C:\Python27\lib\site-packages\django\db\models\", line 78, in
File "C:\Python27\lib\site-packages\django\db\models\", line 99, in
models = import_module('%s.models' % app_name)
File "C:\Python27\lib\site-packages\django\utils\", line 40, in im
File "c:\mygeosite\geodjango\basqui\", line 13, in
from shapefile.models import *
File "c:\mygeosite\geodjango\shapefile\", line 3, in
from django_orm.postgresql import hstore
File "C:\Python27\lib\site-packages\django_orm\postgresql\",
line 2, in
from django_orm.postgresql.hstore.managers import HStoreManager
File "C:\Python27\lib\site-packages\django_orm\postgresql\hstore\",
line 2, in
from django_orm.postgresql.hstore.query import HStoreQuerySet
File "C:\Python27\lib\site-packages\django_orm\postgresql\hstore\", li
ne 54, in
from django_orm.cache.query import CachedQuerySet
File "C:\Python27\lib\site-packages\django_orm\cache\", line 4, in dule>
from django.db.models.query import ITER_CHUNK_SIZE
ImportError: cannot import name ITER_CHUNK_SIZE


happy to tell you the new version is compatible with django 1.6 and the development version supports python3 too.

Upgrade via pip and check the new official django-hstore github repository:

Need Your Help

jquery - Checkbox Required with same name on an EDIT/MODIFY form

jquery required

I'm usig this code from Required attribute on multiple checkboxes with the same name? by Zhomart.

Why Does This Maintainability Index Increase?

c# refactoring metrics code-metrics

I would be appreciative if someone could explain to me the difference between the following two pieces of code in terms of Visual Studio's Code Metrics rules. Why does the Maintainability Index inc...