[1.8.x] Added upgrade tip in BaseCommand.option_list deprecation comment.

Backport of d731cf5caf from master
This commit is contained in:
Daniel Hahler 2015-09-15 17:11:11 +02:00 committed by Tim Graham
parent 8388f24e79
commit e3bdbac733
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,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