Skip to content

Instantly share code, notes, and snippets.

@timlinux
Created June 9, 2013 20:32
Show Gist options
  • Save timlinux/5745097 to your computer and use it in GitHub Desktop.
Save timlinux/5745097 to your computer and use it in GitHub Desktop.
(venv)shrub:django_project timlinux$ python manage.py syncdb --settings=core.settings.dev_timlinux
Traceback (most recent call last):
File "manage.py", line 12, in <module>
execute_from_command_line(sys.argv)
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
utility.execute()
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 77, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/south/management/commands/__init__.py", line 13, in <module>
from south.management.commands.syncdb import Command as SyncCommand
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 19, in <module>
from south.db import dbs
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/south/db/__init__.py", line 82, in <module>
db = dbs[DEFAULT_DB_ALIAS]
KeyError: 'default'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment