Skip to content

Commit

Permalink
Replace deprecated STATICFILES_STORAGE
Browse files Browse the repository at this point in the history
with STORAGES["staticfiles"]["BACKEND"]
  • Loading branch information
atodorov committed Jan 7, 2025
1 parent 2fc7366 commit 0adcb05
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tcms_settings_dir/enterprise.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2024 Alexander Todorov <atodorov@otb.bg>
# Copyright (c) 2020-2025 Alexander Todorov <atodorov@otb.bg>
#
# Licensed under GNU Affero General Public License v3 or later (AGPLv3+)
# https://www.gnu.org/licenses/agpl-3.0.html
Expand Down Expand Up @@ -28,8 +28,9 @@
KIWI_VERSION = f"{__version__}-Enterprise"

# provides filename versioning
STATICFILES_STORAGE = \
'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
STORAGES["staticfiles"][ # noqa: F821
"BACKEND"
] = "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"

ROOT_URLCONF = 'tcms_enterprise.root_urls'

Expand Down

0 comments on commit 0adcb05

Please sign in to comment.