79 chars
This commit is contained in:
parent
ad62170e87
commit
2301cb2191
|
@ -21,7 +21,7 @@ if secret_path := environ.get("E11SYNC_SECRET_KEY_PATH"):
|
|||
_SECRET_KEY = f.read().strip()
|
||||
secret_key_msg = "SECRET_KEY read from {}".format(secret_path)
|
||||
else:
|
||||
_SECRET_KEY = 'django-insecure-$e2!=equ(efm0e%f9&t+xjtz0)$*$@pw%rnjdqcl8f@5o5hw!l'
|
||||
_SECRET_KEY = 'django-insecure-$e2!=indeed'
|
||||
secret_key_msg = "SECRET_KEY is insecure"
|
||||
|
||||
# otherwise it gets printed twice
|
||||
|
@ -97,21 +97,13 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
||||
},
|
||||
_password_validators = [
|
||||
'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
||||
'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||
'django.contrib.auth.password_validation.CommonPasswordValidator',
|
||||
'django.contrib.auth.password_validation.NumericPasswordValidator',
|
||||
]
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS = [{'NAME': v} for v in _password_validators]
|
||||
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
|
|
Loading…
Reference in New Issue