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 issue is manual commenting and uncommenting of the database configs while pushing to production.
We don't want that, instead its should be automatic.
'default': dj_database_url.config(
# Replace this value with your local database's connection string.
default= os.environ.get('DATABASE_URL'),
conn_max_age=600
)
}
The text was updated successfully, but these errors were encountered:
The issue is manual commenting and uncommenting of the database configs while pushing to production.
We don't want that, instead its should be automatic.
THIS IS THE FILE YOU WILL UPDATE: https://github.com/ma-za-kpe/linky_project/blob/main/linky_api/settings.py
Database
https://docs.djangoproject.com/en/5.0/ref/settings/#databases
DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
}
The text was updated successfully, but these errors were encountered: