Created
June 1, 2015 18:38
-
-
Save Luis-Palacios/a097bb5cfb737f35804a to your computer and use it in GitHub Desktop.
An example to show the configuration for database with django and postgres
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dj_database_url | |
DATABASES= {'default':dj_database_url.config( | |
default='postgres://DbUser:strongPasword@yourhost/dbName' | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment