aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thatcomputerscientist/settings.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py
index 7a04e338..9d788d5e 100644
--- a/thatcomputerscientist/settings.py
+++ b/thatcomputerscientist/settings.py
@@ -134,5 +134,4 @@ STATIC_URL = 'static/'
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
-PROJECT_DIR = os.path.dirname(os.path.abspath(__file__))
-STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
+STATIC_ROOT = os.path.join(BASE_DIR, 'static')