I tried to deploy on heroku with above code, I got this error.
$ heroku logs
(omitted)
2017-07-21T18:55:02.766691+00:00 app[web.1]: File "/app/register/settings.py", line 92, in <module>
2017-07-21T18:55:02.766691+00:00 app[web.1]: DATABASES['default'] = dj_database_url.config()
2017-07-21T18:55:02.766694+00:00 app[web.1]: NameError: name 'DATABASES' is not defined
(omitted)
this code passed. No error occurred.
So I think you need to fix code "settings.py" in "Deploy your website on Heroku.
Do you any other opinion? Because I'm beginner.
mysite/settings.py
I tried to deploy on heroku with above code, I got this error.
So I rewrite to below: mysite/settings.py
this code passed. No error occurred. So I think you need to fix code "settings.py" in "Deploy your website on Heroku. Do you any other opinion? Because I'm beginner.