From 8a0e7324dff3a7d7a8de40100788e49c734c1c92 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 18 Jul 2022 10:44:23 +0530 Subject: Added Collect Static Route --- thatcomputerscientist/settings.py | 2 ++ 1 file changed, 2 insertions(+) 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') -- cgit v1.2.3