Skip to content

Commit

Permalink
minor setting bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MasonEgger committed Oct 5, 2020
1 parent 92cab1f commit c2f91bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
SECRET_KEY = os.getenv("DJANGO_SECRET_KEY", get_random_secret_key())

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv("DEBUG", "False") == "True")
DEBUG = os.getenv("DEBUG", "False") == "True"

ALLOWED_HOSTS = os.getenv("DJANGO_ALLOWED_HOSTS", "127.0.0.1,localhost").split(",")

Expand Down Expand Up @@ -138,5 +138,5 @@

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
STATICFILES_DIRS = (os.path.join(BASE_DIR, "static")
STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),)
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"

0 comments on commit c2f91bf

Please sign in to comment.