Skip to content

Commit

Permalink
Updated Postgres db for Production
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind-4 committed Aug 19, 2021
1 parent a60737a commit b97835b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/settings/production.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .base import *
import os
import django_heroku
import dj_database_url

SECRET_KEY = os.environ.get('SECRET_KEY')

Expand All @@ -10,4 +11,6 @@

ADMIN_URL = os.environ.get('ADMIN_URL')

DATABASES['default'] = dj_database_url.config(conn_max_age=600)

django_heroku.settings(locals())

0 comments on commit b97835b

Please sign in to comment.