From 2d4ccac275656d4e5ea87061b297dc8395d80019 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Sat, 16 Sep 2017 23:30:14 +0100 Subject: [PATCH] Fixed #28603 -- Clarified comment in collectstatic's collect(). --- .../contrib/staticfiles/management/commands/collectstatic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py index e5ae48f9fe..26b1433a92 100644 --- a/django/contrib/staticfiles/management/commands/collectstatic.py +++ b/django/contrib/staticfiles/management/commands/collectstatic.py @@ -121,8 +121,7 @@ class Command(BaseCommand): level=1, ) - # Here we check if the storage backend has a post_process - # method and pass it the list of modified files. + # Storage backends may define a post_process() method. if self.post_process and hasattr(self.storage, 'post_process'): processor = self.storage.post_process(found_files, dry_run=self.dry_run)