Added DATABASE in settings.py.

This commit is contained in:
Md. Akhter-Uz-Zaman 2024-02-02 08:10:10 +06:00 committed by GitHub
parent 0f639f1058
commit 27344063d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -69,6 +69,20 @@ TEMPLATES = [
WSGI_APPLICATION = "config.wsgi.application" WSGI_APPLICATION = "config.wsgi.application"
# Database
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'your-db-name',
'USER': 'your-db-user',
'PASSWORD': 'your-db-user-password',
'HOST': 'your-db-host',
'PORT': 'your-db-port',
}
}
# Password validation # Password validation
# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators