I read and apply \"Getting started with Django on Heroku\" tutorial but ran into problem while syncing db:
raise ImproperlyConfigured(\"settings.DATABASES is
it is a little late ; but you just delete all default django database settings lines ; and add heroku's one.
it will work correctly
** edit ** or simply you can use `socket.gethostname().
example :
if socket.gethostname() == 'xx':
DATABASE_SETTINGS ={ }
elif socket.gethostname() == 'xxx':
another database settings...
so you can run your project under multiple hosts.