Skip to content

Instantly share code, notes, and snippets.

@gavinwhyte
Created January 23, 2019 04:49
Show Gist options
  • Save gavinwhyte/dd1697c6046c125a31bcf3c5e5debde9 to your computer and use it in GitHub Desktop.
Save gavinwhyte/dd1697c6046c125a31bcf3c5e5debde9 to your computer and use it in GitHub Desktop.
postgres_flask
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
'postgres://username:password@localhost:5432/databasename'
SQLALCHEMY_TRACK_MODIFICATIONS = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment