From db6b415cc0f36aae0c2e88dc2550b97e95d874c8 Mon Sep 17 00:00:00 2001 From: Marina Date: Mon, 11 Dec 2023 16:19:05 +0100 Subject: [PATCH] 'Solution3' --- taxi_service/settings.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/taxi_service/settings.py b/taxi_service/settings.py index 558c4c07..e8f0543a 100644 --- a/taxi_service/settings.py +++ b/taxi_service/settings.py @@ -20,7 +20,9 @@ # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = "django-insecure-8ovil3xu6=eaoqd#-#&ricv159p0pypoh5_lgm*)-dfcjqe=yc" +SECRET_KEY = ( + "django-insecure-8ovil3xu6=eaoqd#-#&ricv159p0pypoh5_lgm*)-dfcjqe=yc" +) # SECURITY WARNING: don"t run with debug turned on in production! DEBUG = True @@ -91,13 +93,16 @@ "UserAttributeSimilarityValidator", }, { - "NAME": "django.contrib.auth.password_validation." "MinimumLengthValidator", + "NAME": "django.contrib.auth.password_validation." + "MinimumLengthValidator", }, { - "NAME": "django.contrib.auth.password_validation." "CommonPasswordValidator", + "NAME": "django.contrib.auth.password_validation." + "CommonPasswordValidator", }, { - "NAME": "django.contrib.auth.password_validation." "NumericPasswordValidator", + "NAME": "django.contrib.auth.password_validation." + "NumericPasswordValidator", }, ]