mirror of https://github.com/django/django.git
Refs #27854 -- Skipped subsequent checks if STATICFILES_DIRS is not a list or tuple.
This commit is contained in:
parent
f55f3ce831
commit
be8faa7c75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue