Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. DATABASES = {
  2. # 'default': {
  3. # 'ENGINE': 'django.db.backends.postgresql',
  4. # 'NAME': os.environ.get('db_name', 'timetable'),
  5. # 'USER': os.environ.get('db_user', 'postgres'),
  6. # 'PASSWORD': os.environ.get('db_password'),
  7. # 'HOST': '127.0.0.1',
  8. # 'PORT': '5432'
  9. # }
  10. 'default': dj_database_url.config(conn_max_age=500,
  11. default='postgres://mldhgncuosnynx:6cb03a2ec8d231d711352151685d7f1786e09e66f85fb984566db829afa9f037@ec2-174-129-214-42.compute-1.amazonaws.com:5432/d9v90f5gm67flu'),
  12. 'prod': dj_database_url.config(conn_max_age=500,
  13. default='postgres://jnhuxxnzsrezge:6eb9647128912e3fb71da7f5042f7c5ba38f9fce21ecf34ff'
  14. '39574cf1ea11c54@ec2-176-34-184-174.eu-west-1.compute.amazonaws.com:5432/d2m'
  15. 'ab76vb5ahsv')
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement