Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vagrant@lucid64:/vagrant_data/var/www/mybooktype$ django-admin.py syncdb --noinput
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.
"use STATIC_URL instead.", DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:72: DeprecationWarning: If set, MEDIA_URL must end with a slash
DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/conf/__init__.py:72: DeprecationWarning: If set, STATIC_URL must end with a slash
DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
DeprecationWarning)
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
pkg_resources.run_script('Django==1.4', 'django-admin.py')
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/EGG-INFO/scripts/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/management/__init__.py", line 69, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/local/lib/python2.6/dist-packages/South-0.7.4-py2.6.egg/south/management/commands/__init__.py", line 13, in <module>
from south.management.commands.syncdb import Command as SyncCommand
File "/usr/local/lib/python2.6/dist-packages/South-0.7.4-py2.6.egg/south/management/commands/syncdb.py", line 17, in <module>
from south.db import dbs
File "/usr/local/lib/python2.6/dist-packages/South-0.7.4-py2.6.egg/south/db/__init__.py", line 78, 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
You can’t perform that action at this time.