Skip to content

Commit

Permalink
chore: Order STORAGES near STATIC_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 30, 2024
1 parent e4e4965 commit 74b53f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spoonbill_web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@

STATIC_ROOT = BASE_DIR / "static"

STORAGES = {
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}

# https://docs.djangoproject.com/en/4.2/topics/logging/#django-security
LOGGING = {
"version": 1,
Expand Down Expand Up @@ -222,12 +228,6 @@
("es", _("Spanish")),
]

STORAGES = {
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}

# https://github.com/open-contracting/spoonbill-web/issues/122
APPEND_SLASH = False

Expand Down

0 comments on commit 74b53f9

Please sign in to comment.