From add2bc9228cd6320e7f0449dd5d2a292156d5f54 Mon Sep 17 00:00:00 2001 From: Ross Whitfield Date: Thu, 21 Nov 2024 13:15:54 +1100 Subject: [PATCH] Remove unneeded static files finder FileSystemFinder finds all the files we need, having AppDirectoriesFinder included was just causing the same files to be found multiple times --- src/webmon_app/reporting/reporting_app/settings/base.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/webmon_app/reporting/reporting_app/settings/base.py b/src/webmon_app/reporting/reporting_app/settings/base.py index 0e3133c2..2402d033 100644 --- a/src/webmon_app/reporting/reporting_app/settings/base.py +++ b/src/webmon_app/reporting/reporting_app/settings/base.py @@ -97,11 +97,7 @@ def validate_ldap_settings(server_uri, user_dn_template): # List of finder classes that know how to find static files in # various locations. -STATICFILES_FINDERS = ( - "django.contrib.staticfiles.finders.FileSystemFinder", - "django.contrib.staticfiles.finders.AppDirectoriesFinder", - # 'django.contrib.staticfiles.finders.DefaultStorageFinder', -) +STATICFILES_FINDERS = ("django.contrib.staticfiles.finders.FileSystemFinder",) # Make this unique, and don't share it with anybody. SECRET_KEY = "-0zoc$fl2fa&rmzeo#uh-qz-k+4^1)_9p1qwby1djzybqtl_nn"