Closed lgaticaq closed 10 years ago
No work environment variables in the settings. Example:
import os DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'drivetech', 'USER': os.environ.get('POSTGRESQL_USER'), 'PASSWORD': os.environ.get('POSTGRESQL_PASS'), 'HOST': '', 'PORT': '', } }
I think os.environ.copy() should do the job. I will check this later.
os.environ.copy()
made a few tests and it seems like there's no problem any more
No work environment variables in the settings. Example: