我正在尝试设置djangoappengine。我已经从每个here的git / bitbucket中克隆了代码(遵循谷歌的一些链接),复制了django-testapp,并将其重命名为我自己的应用程序。
但是python manage.py运行服务器会遇到这样的情况:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/Users/gimli/sandbox/iAgri/whipple/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/Users/gimli/sandbox/iAgri/whipple/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/gimli/sandbox/iAgri/whipple/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/gimli/sandbox/iAgri/whipple/django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/gimli/sandbox/iAgri/whipple/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/gimli/sandbox/iAgri/whipple/djangoappengine/management/commands/runserver.py", line 5, in <module>
from django.db import connections
File "/Users/gimli/sandbox/iAgri/whipple/django/db/__init__.py", line 78, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "/Users/gimli/sandbox/iAgri/whipple/django/db/utils.py", line 94, in __getitem__
conn = backend.DatabaseWrapper(db, alias)
File "/Users/gimli/sandbox/iAgri/whipple/dbindexer/base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, *args, **kwargs)
File "/Users/gimli/sandbox/iAgri/whipple/dbindexer/base.py", line 37, in __init__
super(BaseDatabaseWrapper, self).__init__(*args, **kwargs)
File "/Users/gimli/sandbox/iAgri/whipple/djangoappengine/db/base.py", line 290, in __init__
self.ops = DatabaseOperations(self)
TypeError: __init__() takes exactly 1 argument (2 given)我用谷歌搜索过,随着时间的推移,这个项目似乎有这样的错误,但似乎没有一个解决方案是最新的。
任何帮助都将不胜感激。
发布于 2013-04-19 20:06:19
不要使用bitbucket中的代码或中的文档!
它们都是旧的和过时的。该项目的新主页是:
在那里,您将找到像样的文档和当前的下载链接。
发布于 2013-08-30 20:38:02
发布于 2013-03-22 07:39:25
and particularly文档非常旧,需要更新,特别是在安装方面。幸运的是,有人构建了一个安装程序(我还没有尝试过):
https://groups.google.com/forum/?fromgroups=#!topic/django-non-relational/Nlkh-zldQ6w
https://stackoverflow.com/questions/15558243
复制相似问题