Skip to content
Snippets Groups Projects
Commit 9caeb2b7 authored by Neda Moeini's avatar Neda Moeini
Browse files

Get the STATIC_ROOT from env vars

parent 47f4dcc7
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ INTERNAL_IPS = [
"127.0.0.1",
]
STATIC_ROOT = BASE_DIR / "staticfiles"
STATIC_ROOT = os.getenv("STATIC_ROOT", BASE_DIR / "staticfiles")
STATICFILES_DIRS = [
BASE_DIR / "static",
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment