I am doing the tutorial and it says i need to add my local databases connection string to update the database url. I successfully added a different Django project via your tutorial to render. What i need to do now is add this project to render GitHub - JonDevOps/djangox: Django starter project with 🔋
and i am following this tutorial
Deploy a Django App on Render – Render Docs
i am on step 2 in the section titled “updating an existing django project”.
I made the first modification in step 2 to import a database url at the beginning of the file, but on the 2nd section in the comments i get lost when it says# Replace this value with your local database’s connection string.
My question is:
What is that and how do i find it
# Replace the SQLite DATABASES configuration with PostgreSQL:
DATABASES = {
'default': dj_database_url.config( # Replace this value with your local database's connection string. default='postgresql://postgres:postgres@localhost:5432/mysite', conn_max_age=600 )}
Basically only thing ive done to the django project is fork it and clone it locally. and created an virtualenv. Ive done the first step of this tutorial but ive never created a database even though ive downloaded postgres for other projects. Ive run migrate on other projects but so far on this current djangox project i have not run it yet, because im making a fresh project to test deploying it with render.