You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python module I am working with is dj_database_url which I have imported at the top of my settings.py. Near the bottom of the guide (above), they recommend using this line:
dj_database_url needs to be properly configured to use sqlite locally (http://127.0.0.1:8000/) and postgres remotely (https://tarot-juicer-next-iter.herokuapp.com/).
What is wrong with line 102 in settings.py?
edit: grammar
The text was updated successfully, but these errors were encountered:
I’m trying to deploy my Django project to Heroku. I’m following along with the official Heroku doc titled, “Concurrency and Database Connections in Django”.
The Python module I am working with is
dj_database_url
which I have imported at the top of my settings.py. Near the bottom of the guide (above), they recommend using this line:That breaks my dev server (db.sqlite) locally resulting in this traceback: https://pastebin.com/uLZpA6R4
The project deployed on Heroku is broken with this traceback (postgres): https://pastebin.com/RSB8xc6M
dj_database_url
needs to be properly configured to use sqlite locally (http://127.0.0.1:8000/
) and postgres remotely (https://tarot-juicer-next-iter.herokuapp.com/
).What is wrong with line 102 in
settings.py
?edit: grammar
The text was updated successfully, but these errors were encountered: