Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified collectstatic management command to not include STATIC_ROOT …

…in the user prompt since it's misleading when using a non-local storage backend.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f05aab1a437b7f133c8152eef5987fc8cfe5403b 1 parent 6ffe1d1
@jezdez jezdez authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/staticfiles/management/commands/collectstatic.py
View
4 django/contrib/staticfiles/management/commands/collectstatic.py
@@ -67,12 +67,12 @@ def handle_noargs(self, **options):
if options.get('interactive'):
confirm = raw_input(u"""
You have requested to collect static files at the destination
-location as specified in your settings file ('%s').
+location as specified in your settings file.
This will overwrite existing files.
Are you sure you want to do this?
-Type 'yes' to continue, or 'no' to cancel: """ % settings.STATIC_ROOT)
+Type 'yes' to continue, or 'no' to cancel: """)
if confirm != 'yes':
raise CommandError("Collecting static files cancelled.")
Please sign in to comment.
Something went wrong with that request. Please try again.