0
我已经在Google应用引擎上成功安装了django-nonrel和django注册,感谢this非常有用的文章。不过,在管理界面中列出注册配置文件(访问/admin/registration/registrationprofile
)时遇到困难,我收到以下错误,只是在部署的版本中。在django注册与django-nonrel的管理界面中列出注册配置文件
File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2324, in __query_result_hook
str(exc) + '\nThe suggested index for this query is:\n' + yaml)
NeedIndexError: no matching index found.
The suggested index for this query is:
- kind: registration_registrationprofile
properties:
- name: __key__
direction: desc
访问/admin/registration/registrationprofile/add
就好了。
我和我的一个应用程序有同样的问题,但过了一段时间它开始工作,不知道为什么。
可能是什么问题?
编辑
奇怪,但现在它的工作。我想这是因为我的浏览器缓存,或谷歌服务器需要更多的时间来激活该索引,不知道,也许我会尽力找出以后。
这是在index.yaml中的文件,它是服务,我检查它在App Engine下的数据存储索引。 (我也没有超过配额) – balazs