Skip to content

Commit

Permalink
Remove unneeded static files finder
Browse files Browse the repository at this point in the history
FileSystemFinder finds all the files we need, having AppDirectoriesFinder included was just causing the same files to be found multiple times
  • Loading branch information
rosswhitfield committed Nov 21, 2024
1 parent de13b21 commit add2bc9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/webmon_app/reporting/reporting_app/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit add2bc9

Please sign in to comment.