From 996cadfa5fbf96062037d1834cc8584fddf655ad Mon Sep 17 00:00:00 2001 From: eltronix Date: Thu, 12 May 2016 17:41:53 +0300 Subject: [PATCH] Prevented findstatic argument from appearing as multiple options. --- django/contrib/staticfiles/management/commands/findstatic.py | 2 +- docs/ref/contrib/staticfiles.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/staticfiles/management/commands/findstatic.py b/django/contrib/staticfiles/management/commands/findstatic.py index dcb198b221..b594ebcab2 100644 --- a/django/contrib/staticfiles/management/commands/findstatic.py +++ b/django/contrib/staticfiles/management/commands/findstatic.py @@ -9,7 +9,7 @@ from django.utils.encoding import force_text class Command(LabelCommand): help = "Finds the absolute paths for the given static file(s)." - label = 'static file' + label = 'staticfile' def add_arguments(self, parser): super(Command, self).add_arguments(parser) diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index 3e70d82f7e..5f2e5f909b 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -149,7 +149,7 @@ that class path inside your :setting:`INSTALLED_APPS` setting: ``findstatic`` -------------- -.. django-admin:: findstatic static file [static file ...] +.. django-admin:: findstatic staticfile [staticfile ...] Searches for one or more relative paths with the enabled finders.