Skip to content Skip to sidebar Skip to footer

Keyerror: 'database_url' In Django 1.4

I have a project on Django 1.4.3 and try to set up on my mac. But raise an error KeyError: 'DATABASE_URL' settings.py: DATABASES = {'default': dj_database_url.config()} DATABASE_

Solution 1:

In terminal i have to do

export DATABASE_URL=postgres://postgres:password@localhost:5432/viggo_backend

Post a Comment for "Keyerror: 'database_url' In Django 1.4"