diff --git a/dashboard/settings.py b/dashboard/settings.py index 18716c1..d2e6361 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -24,13 +24,13 @@ SECRET_KEY = "django-insecure-44zt@)$td7_yh(01q^hrce%h(311n!djn%%#s1b7$cvfy!pf7y # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True - ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = [ + "whitenoise.runserver_nostatic", "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", @@ -131,9 +131,9 @@ USE_TZ = True STATIC_URL = "static/" STATIC_ROOT = BASE_DIR / "static" -# STATICFILES_DIRS = [ -# BASE_DIR / "static", -# ] +STATICFILES_DIRS = [ + BASE_DIR / "common-static", +] STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"