From be8faa7c7590d6b961ad9abdc65588f54194aaab Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 1 Mar 2021 08:42:22 -0500 Subject: [PATCH] Refs #27854 -- Skipped subsequent checks if STATICFILES_DIRS is not a list or tuple. --- django/contrib/staticfiles/finders.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/staticfiles/finders.py b/django/contrib/staticfiles/finders.py index 7f75af3f67..ee612cf3e6 100644 --- a/django/contrib/staticfiles/finders.py +++ b/django/contrib/staticfiles/finders.py @@ -75,6 +75,7 @@ class FileSystemFinder(BaseFinder): hint='Perhaps you forgot a trailing comma?', id='staticfiles.E001', )) + return errors for root in settings.STATICFILES_DIRS: if isinstance(root, (list, tuple)): prefix, root = root