We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8944698 commit 304ecefCopy full SHA for 304ecef
Procfile
@@ -0,0 +1,2 @@
1
+release: py manage.py migrate
2
+web: gunicorn core.wsgi
core/settings/prod.py
@@ -1,8 +1,15 @@
from os import environ, path
from .common import *
3
+import dj_database_url as db_url
4
5
SECRET_KEY = environ.get('SECRET_KEY')
6
7
DEBUG = False
8
-ALLOWED_HOSTS = []
9
+ALLOWED_HOSTS = ["https://pritdjango-blogapi.herokuapp.com/"]
10
+
11
+DATABASES = {
12
+ 'default': db_url.config()
13
+}
14
15
+# prod git: https://git.heroku.com/pritdjango-blogapi.git
0 commit comments