Fix: Comments
This commit is contained in:
parent
43c856f22d
commit
6c6c6b4b6d
1 changed files with 9 additions and 4 deletions
|
@ -86,10 +86,10 @@ TEMPLATES = [
|
|||
|
||||
WSGI_APPLICATION = 'core.wsgi.application'
|
||||
|
||||
|
||||
#############################################################
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
|
||||
|
||||
#############################################################
|
||||
if os.environ.get('DB_ENGINE') and os.environ.get('DB_ENGINE') == "mysql":
|
||||
DATABASES = {
|
||||
'default': {
|
||||
|
@ -108,11 +108,13 @@ else:
|
|||
'NAME': 'db.sqlite3',
|
||||
}
|
||||
}
|
||||
#############################################################
|
||||
|
||||
|
||||
#############################################################
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators
|
||||
|
||||
#############################################################
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
||||
|
@ -127,11 +129,13 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
||||
},
|
||||
]
|
||||
#############################################################
|
||||
|
||||
|
||||
#############################################################
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.0/topics/i18n/
|
||||
|
||||
#############################################################
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
TIME_ZONE = 'UTC'
|
||||
|
@ -139,6 +143,7 @@ TIME_ZONE = 'UTC'
|
|||
USE_I18N = True
|
||||
|
||||
USE_TZ = True
|
||||
#############################################################
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
|
|
Loading…
Reference in a new issue