diff --git a/.gitignore b/.gitignore index 1119943..c83d515 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ __pycache__/ /venv /output db.sqlite3 -config.yaml \ No newline at end of file +config.yaml +/static \ No newline at end of file diff --git a/mallarddns/settings.py b/mallarddns/settings.py index f401180..d10eb60 100644 --- a/mallarddns/settings.py +++ b/mallarddns/settings.py @@ -123,6 +123,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.2/howto/static-files/ STATIC_URL = "static/" +STATIC_ROOT = os.environ.get("MALLARDDNS_STATIC_ROOT", "static") # Default primary key field type # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field