From c3926c998330aedb013e8e8a84fc9b6a3a7fc7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Fri, 28 May 2021 09:51:30 +0200 Subject: [PATCH] refactor: format --- config/settings.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/settings.py b/config/settings.py index 314673d8..64cd60be 100755 --- a/config/settings.py +++ b/config/settings.py @@ -8,7 +8,9 @@ DEBUG = False TEMPLATE_DEBUG = DEBUG -ADMINS = (os.environ.get('ADMINS', "Paul Hallett,paulandrewhallett@gmail.com").split(","),) +ADMINS = ( + os.environ.get("ADMINS", "Paul Hallett,paulandrewhallett@gmail.com").split(","), +) EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" @@ -18,7 +20,11 @@ BASE_URL = os.environ.get("BASE_URL", "http://pokeapi.co") # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = [os.environ.get("ALLOWED_HOSTS", ".pokeapi.co"), "localhost", "127.0.0.1"] +ALLOWED_HOSTS = [ + os.environ.get("ALLOWED_HOSTS", ".pokeapi.co"), + "localhost", + "127.0.0.1", +] TIME_ZONE = os.environ.get("TIME_ZONE", "Europe/London")