From 7b7796f1e545ace28dce06da3f205ef617872b78 Mon Sep 17 00:00:00 2001 From: Trullemans Gregory Date: Fri, 19 Nov 2021 15:17:02 +0100 Subject: [PATCH] Using .env file --- Ultron/settings.py | 8 -------- requirements.txt | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Ultron/settings.py b/Ultron/settings.py index ffccf997d3..9cc1d38fc9 100644 --- a/Ultron/settings.py +++ b/Ultron/settings.py @@ -84,14 +84,6 @@ WSGI_APPLICATION = 'Ultron.wsgi.application' # Database # https://docs.djangoproject.com/en/3.2/ref/settings/#databases - -# DATABASES = { -# 'default': { -# 'ENGINE': 'django.db.backends.sqlite3', -# 'NAME': BASE_DIR / 'db.sqlite3', -# } -# } - DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', diff --git a/requirements.txt b/requirements.txt index 6012cf308a..da7e6c527b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ asgiref==3.4.1 Django==3.2.8 +django-environ==0.8.1 django-extensions==3.1.3 install==1.3.4 Markdown==3.3.4