Unable to populate db over django==1.4

Not really a question, but needs your attention, @Evgeny. askbot-setup gets django==1.4 by default, but on django==1.3.1 still all fine.

Askbot can't sync db with next components:

Python 2.7.3rc2 Django 1.4 mysql-python 1.2.3 South 0.7.4

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager
    utility.execute()
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 69, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/South-0.7.4-py2.7.egg/south/management/commands/__init__.py", line 13, in <module>
    from south.management.commands.syncdb import Command as SyncCommand
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/South-0.7.4-py2.7.egg/south/management/commands/syncdb.py", line 17, in <module>
    from south.db import dbs
  File "/var/www/askbot-devel/askbot_env/local/lib/python2.7/site-packages/South-0.7.4-py2.7.egg/south/db/__init__.py", line 78, in <module>
    db = dbs[DEFAULT_DB_ALIAS]
KeyError: 'default'
Olloff's avatar
97
Olloff
asked 2012-03-29 08:50:52 -0500, updated 2012-03-29 08:55:40 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments