Использую appengine_helper_for_django-r30.zip.
django_example_20080409.tar.gz работает.
Request Method: GET
Request URL: http://localhost:8080/
Exception Type: AttributeError
Exception Value: 'module' object has no attribute 'quote_name'
Exception Location: C:\gapp\lib\django\django\db\models\query.py in _get_sql_clause, line 477
Traceback (most recent call last):
File "C:\gapp\lib\django\django\core\handlers\base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "G:\from_net\dev\python\examplez\pythonua\site\views.py" in index
32. ex = Exception.objects.all().filter(lang__lang__exact=language).latest('id')
File "C:\gapp\lib\django\django\db\models\query.py" in latest
291. return self._clone(_limit=1, _order_by=('-'+latest_by,)).get()
File "C:\gapp\lib\django\django\db\models\query.py" in get
250. obj_list = list(clone)
File "C:\gapp\lib\django\django\db\models\query.py" in __iter__
108. return iter(self._get_data())
File "C:\gapp\lib\django\django\db\models\query.py" in _get_data
470. self._result_cache = list(self.iterator())
File "C:\gapp\lib\django\django\db\models\query.py" in iterator
174. select, sql, params = self._get_sql_clause()
File "C:\gapp\lib\django\django\db\models\query.py" in _get_sql_clause
477. select = ["%s.%s" % (backend.quote_name(opts.db_table), backend.quote_name(f.column)) for f in opts.fields]
AttributeError at /
'module' object has no attribute 'quote_name'
Environment:
Request Method: GET
Request URL: http://localhost:8080/
Django Version: 0.97-pre-SVN-7928
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.comments',
'site',
'blog',
'sitereg',
'books',
'links',
'articles']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')
Traceback:
File "G:\from_net\dev\python\examplez\pythonua\django\core\handlers\base.py" in get_response
76. callback, callback_args, callback_kwargs = resolver.resolve(request.path)
File "G:\from_net\dev\python\examplez\pythonua\django\core\urlresolvers.py" in resolve
231. for pattern in self.urlconf_module.urlpatterns:
File "G:\from_net\dev\python\examplez\pythonua\django\core\urlresolvers.py" in _get_urlconf_module
255. raise ImproperlyConfigured, "Error while importing URLconf %r: %s" % (self.urlconf_name, e)
Exception Type: ImproperlyConfigured at /
Exception Value: Error while importing URLconf 'urls': 'ModelOptions' object has no attribute 'db_table'
http://oebfare.com/logger/django/2008/06/01/
http://pyg.pl/public/irclogs/2008/freenode/%23django/29.04.log
Куда нужно копать? Я новичек в питоне и в джанго.
Возможно что нужно сконвертировать сначала БД из sqlite в appengine?
В архиве есть settings.py urls.py и еще несколько файлов.