Skip to content

Commit

Permalink
refactor: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed May 28, 2021
1 parent 037d1af commit c3926c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

TEMPLATE_DEBUG = DEBUG

ADMINS = (os.environ.get('ADMINS', "Paul Hallett,[email protected]").split(","),)
ADMINS = (
os.environ.get("ADMINS", "Paul Hallett,[email protected]").split(","),
)

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"

Expand All @@ -18,7 +20,11 @@

# 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")

Expand Down

0 comments on commit c3926c9

Please sign in to comment.