summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2018-04-24 05:04:02 +0200
committerTim Graham <timograham@gmail.com>2018-04-23 23:04:02 -0400
commit3aae43d800a15db308cea0ea69729122c5c1d215 (patch)
tree29ddf3703ba389331fe573a7eb1adefcc2343a8c /django
parentd1413c5d703c60dfb9e2a418c79b3e4aed32ffac (diff)
Fixed #28973 -- Silenced copying/linking messages in collectstatic's default verbosity.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/staticfiles/management/commands/collectstatic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py
index 26b1433a92..980a63fe1c 100644
--- a/django/contrib/staticfiles/management/commands/collectstatic.py
+++ b/django/contrib/staticfiles/management/commands/collectstatic.py
@@ -309,7 +309,7 @@ class Command(BaseCommand):
if self.dry_run:
self.log("Pretending to link '%s'" % source_path, level=1)
else:
- self.log("Linking '%s'" % source_path, level=1)
+ self.log("Linking '%s'" % source_path, level=2)
full_path = self.storage.path(prefixed_path)
try:
os.makedirs(os.path.dirname(full_path))
@@ -348,7 +348,7 @@ class Command(BaseCommand):
if self.dry_run:
self.log("Pretending to copy '%s'" % source_path, level=1)
else:
- self.log("Copying '%s'" % source_path, level=1)
+ self.log("Copying '%s'" % source_path, level=2)
with source_storage.open(path) as source_file:
self.storage.save(prefixed_path, source_file)
self.copied_files.append(prefixed_path)