Set up static file location
authorDavid Kerkeslager <kerkeslager@gmail.com>
Tue, 1 Mar 2022 20:32:53 +0000 (15:32 -0500)
committerDavid Kerkeslager <kerkeslager@gmail.com>
Tue, 1 Mar 2022 20:32:53 +0000 (15:32 -0500)
.gitignore
src/core/settings.py

index e5f1c9e..8625ecd 100644 (file)
@@ -1,3 +1,4 @@
 .env/
 __pycache__/
 db.sqlite3
+static/
index e2c5b2f..541e767 100644 (file)
@@ -116,6 +116,7 @@ USE_TZ = True
 # https://docs.djangoproject.com/en/4.0/howto/static-files/
 
 STATIC_URL = 'static/'
+STATIC_ROOT = Path(BASE_DIR.parent, 'static/')
 
 # Default primary key field type
 # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field