From ccd5a23fba91e66656bb19b60bb6d737cab728f5 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 2 Aug 2016 18:50:12 -0400 Subject: Fixed #27000 -- Removed BaseCommand.usage() per deprecation timeline (refs #19973). --- django/core/management/base.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'django') diff --git a/django/core/management/base.py b/django/core/management/base.py index 0a9037c1d1..3726d42150 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -225,17 +225,6 @@ class BaseCommand(object): """ return django.get_version() - def usage(self, subcommand): - """ - Return a brief description of how to use this command, by - default from the attribute ``self.help``. - """ - usage = '%%prog %s [options] %s' % (subcommand, self.args) - if self.help: - return '%s\n\n%s' % (usage, self.help) - else: - return usage - def create_parser(self, prog_name, subcommand): """ Create and return the ``ArgumentParser`` which will be used to -- cgit v1.3