I'm currently following Heroku's guide to
Django on Heroku, but when it comes to configuring the database in settings.py I'm just at a lost. I tried copying and pasting the code provided:
"
import dj_database_url
DATABASES = {'default': dj_database_url.config(default='postgres://localhost')}
"
I end up getting errors when trying to runserver or syncdb. I tried to see if I should change the url to something different besides 'postgres://localhost', but I still got error. Now before I continue I should mention that dj-database-url, django, and psycopg2 installed correctly, but I'm stuck with the database settings. Any help would be appreciated.