Делал как здесь: http://habrahabr.ru/post/139354/
settings.py:
DATABASES = {
'default': {
'ENGINE': 'google.appengine.ext.django.backends.rdbms',
'INSTANCE': 'necronomicronian:necronomicron8',
'NAME': 'ars_medendi',
}
}
При запуске syncdb:
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "c:\Python27\lib\site-packages\django\core\management_init.py", line
459, in execute_manager
utility.execute()
File "c:\Python27\lib\site-packages\django\core\management__init.py", line
382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "c:\Python27\lib\site-packages\django\core\management__init.py", line
261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "c:\Python27\lib\site-packages\django\core\management__init.py", line
69, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "c:\Python27\lib\site-packages\django\utils\importlib.py", line 35, in im
port_module
import(name)
File "c:\Python27\lib\site-packages\django\core\management\commands\syncdb.py"
, line 8, in
from django.core.management.sql import custom_sql_for_model, emit_post_sync
signal
File "c:\Python27\lib\site-packages\django\core\management\sql.py", line 6, in
from django.db import models
File "c:\Python27\lib\site-packages\django\db\__init__.py", line 40, in
backend = load_backend(connection.settings_dict['ENGINE'])
File "c:\Python27\lib\site-packages\django\db\__init__.py", line 34, in __geta
ttr__
return getattr(connections[DEFAULT_DB_ALIAS], item)
File "c:\Python27\lib\site-packages\django\db\utils.py", line 92, in __getitem
__
backend = load_backend(db['ENGINE'])
File "c:\Python27\lib\site-packages\django\db\utils.py", line 44, in load_back
end
raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured: 'google.appengine.ext.django.backen
ds.rdbms' isn't an available database backend.
Try using django.db.backends.XXX, where XXX is one of:
'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'
Error was: cannot import name Thing2Literal