“settings.DATABASES is improperly configured” error performing syncdb with django 1.4

It might be that django is not accessing the settings.py file you think it uses.
Try explicitly point django to your settings file by using –settings

./manage.py --settings=nameofproject.settings runserver/syncdb

If this works then, you’ll have to figure out why django is importing the wrong settings file.

Have you upgraded from 1.3 to 1.4 by accident ?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)