aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-18 10:44:23 +0530
committerBobby <[email protected]>2022-07-18 10:44:23 +0530
commit8a0e7324dff3a7d7a8de40100788e49c734c1c92 (patch)
treefc4de5496dbf96ba38e13174691aa9db243e0e63
parentd830ec8a5755fe9efa4981ccdd4efbc6739fdfc4 (diff)
downloadthatcomputerscientist-8a0e7324dff3a7d7a8de40100788e49c734c1c92.tar.xz
thatcomputerscientist-8a0e7324dff3a7d7a8de40100788e49c734c1c92.zip
Added Collect Static Route
-rw-r--r--thatcomputerscientist/settings.py2
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')