Python django hstore与django 1.6的兼容性问题

Python django hstore与django 1.6的兼容性问题,python,django,hstore,django-postgresql,django-hstore,Python,Django,Hstore,Django Postgresql,Django Hstore,似乎与Django 1.6不兼容。我在runserver上有此错误。对于Django 1.5.5,一切都是正确的。知道有什么问题吗 注意,正如警告中提到的,我已经通过导入json更改了simplejson导入,但问题仍然存在 C:\Python27\lib\site-packages\django_orm\postgresql\hstore\forms.py:2: Deprecati onWarning: django.utils.simplejson is deprecated; use js

似乎与Django 1.6不兼容。我在runserver上有此错误。对于Django 1.5.5,一切都是正确的。知道有什么问题吗

注意,正如警告中提到的,我已经通过导入json更改了simplejson导入,但问题仍然存在

C:\Python27\lib\site-packages\django_orm\postgresql\hstore\forms.py:2: 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\autoreload.py", line 93, in w
rapper
fn(args, *kwargs)
File "C:\Python27\lib\site-packages\django\core\management\commands\runserver.
py", line 98, in inner_run
self.validate(display_num_errors=True)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 310,
in validate
num_errors = get_validation_errors(s, app)
File "C:\Python27\lib\site-packages\django\core\management\validation.py", 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\loading.py", line 196, in
get_app_errors
self.populate()
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 78, in
_populate
self.loadapp(app_name)
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 99, in
load_app
models = import_module('%s.models' % app_name)
File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 40, in im
port_module
import(name)
File "c:\mygeosite\geodjango\basqui\models.py", line 13, in
from shapefile.models import *
File "c:\mygeosite\geodjango\shapefile\models.py", line 3, in
from django_orm.postgresql import hstore
File "C:\Python27\lib\site-packages\django_orm\postgresql\hstore__init__.py",
line 2, in
from django_orm.postgresql.hstore.managers import HStoreManager
File "C:\Python27\lib\site-packages\django_orm\postgresql\hstore\managers.py",
line 2, in
from django_orm.postgresql.hstore.query import HStoreQuerySet
File "C:\Python27\lib\site-packages\django_orm\postgresql\hstore\query.py", li
ne 54, in
from django_orm.cache.query import CachedQuerySet
File "C:\Python27\lib\site-packages\django_orm\cache\query.py", line 4, in dule>
from django.db.models.query import ITER_CHUNK_SIZE
ImportError: cannot import name ITER_CHUNK_SIZE

很高兴告诉您,新版本与django 1.6兼容,开发版本也支持python3


通过pip升级并查看新的官方django hstore github存储库:

很高兴告诉您,新版本与django 1.6兼容,开发版本也支持python3


通过pip升级并查看新的django hstore github官方存储库:

为什么要升级到django 1.6?一般来说,最好等到依赖项与1.6兼容后再使用。这已经是一个问题:您是对的,但我想从1.6中引入的geodjango中的新功能中获益@jbub这是我几个小时前刚打开的问题哈哈,我试着比较昵称,没有运气:(为什么要升级到Django 1.6?一般来说,最好等到依赖项与1.6兼容。这已经是一个问题了:你是对的,但我想从geodjango 1.6中引入的新功能中获益。@jbub这是我几个小时前刚刚打开的问题哈哈,我试图比较昵称,没有luck:(