#Multiple issues with deploying Django App.
10 messages · Page 1 of 1 (latest)
Project ID: N/A
Project ID is in your main porject settings
I hae 4 Django apps running using a POSTGRES DB, I may be able to help.
What issue are you having specifically?
No, its in your main project settings. As I'm just a user, it doesn;t really matter to me. It just helps the bot
What do you mean by " the formatting is all messed up"?
Gotcha. While you're figuring things out, I recommend turning debug on so you can get a better idea of the error
For the DB setup, the easiest thing to do is install dj_database_url and add this to your settings.py: import dj_database_url
DATABASES = {
'default': dj_database_url.config(conn_max_age=500)
}
(Don't forget to update your requirements.txt as well)
I'll keep an eye out if you have any other issues!