Skip to content

Commit

Permalink
Replace deprecated STATICFILES_STORAGE setting with STORAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jan 5, 2025
1 parent 7f4b34c commit fe6a571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tcms/settings/devel.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
# http://docs.djangoproject.com/en/dev/ref/templates/api/#django-template-context-processors-debug
INTERNAL_IPS = ("127.0.0.1",)

STATICFILES_STORAGE = "tcms.tests.storage.RaiseWhenFileNotFound"
STORAGES["staticfiles"][ # noqa: F405
"BACKEND"
] = "tcms.tests.storage.RaiseWhenFileNotFound"

ANONYMOUS_ANALYTICS = False

0 comments on commit fe6a571

Please sign in to comment.