use "DATABASES" in settings.py"

DATABASE_NAME etc. is deprecated since django 1.2