diff --git a/envanter/settings.py b/envanter/settings.py index 028c405..ee823cc 100644 --- a/envanter/settings.py +++ b/envanter/settings.py @@ -20,7 +20,7 @@ # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [37.148.211.112] # Application definition @@ -67,15 +67,14 @@ WSGI_APPLICATION = 'envanter.wsgi.application' -# Database -# https://docs.djangoproject.com/en/3.2/ref/settings/#databases + #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.sqlite3', + 'NAME': BASE_DIR / 'db.sqlite3', + } +} # Password validation