Added upgrade tip in BaseCommand.option_list deprecation comment.

This commit is contained in:
Daniel Hahler 2015-09-15 17:11:11 +02:00 committed by Tim Graham
parent 7673759321
commit d731cf5caf
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class BaseCommand(object):
This is the list of ``optparse`` options which will be fed
into the command's ``OptionParser`` for parsing arguments.
Deprecated and will be removed in Django 1.10.
Use ``add_arguments`` instead.
``output_transaction``
A boolean indicating whether the command outputs SQL