diff options
| -rw-r--r-- | thatcomputerscientist/settings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py index 69051529..239c6abf 100644 --- a/thatcomputerscientist/settings.py +++ b/thatcomputerscientist/settings.py @@ -134,3 +134,5 @@ 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') |
