Pull requests

#86 Declined
Repository
multmeio multmeio
Branch
default
Repository
andrewgodwin andrewgodwin
Branch
default

fixing the KeyError: 'default' when ./manager.py syncdb/shell/schemamigration/migrate/....

Author
  1. Luís Antônio Araújo Brito
Reviewers
Description

When add south to INSTALLED_APPS and try it, on shell, syncdb, schemamigration, .... the traceback [2] bellow is raise. I found this hack at pastebin [1] and applied..

ENV: Django==1.4.1, South==0.7.6, PostgreSQL9.2 w/ hstore

1 - http://pastebin.com/M3xhiG6M

2 - (env2zambe)caitifbrito:zambe luis$ ./manage.py syncdb .... packages/south/management/commands/syncdb.py", line 17, in <module> from south.db import dbs File "/....../lib/python2.7/site-packages/south/db/init.py", line 81, in <module> db = dbs[DEFAULT_DB_ALIAS] KeyError: 'default'

Comments (0)