flake8 and doc fixes for refs #22257.

This commit is contained in:
Tim Graham 2014-03-25 09:43:51 -04:00
parent 16afffffe8
commit e3c4205b79
3 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ class Command(BaseCommand):
help="Only dump objects with given primary keys. "
"Accepts a comma separated list of keys. "
"This option will only work when you specify one model."),
make_option('-o' ,'--output', default=None, dest='output',
make_option('-o', '--output', default=None, dest='output',
help='Specifies file to which the output is written.'),
)
help = ("Output the contents of the database as a fixture of the given "

View File

@ -277,10 +277,10 @@ you can use the ``--pks`` option to specify a comma separated list of
primary keys on which to filter. This is only available when dumping
one model.
.. versionadded:: 1.8
.. django-admin-option:: --output
.. versionadded:: 1.8
By default ``dumpdata`` will output all the serialized data to standard output.
This options allows to specify the file to which the data is to be written.

View File

@ -124,8 +124,8 @@ Internationalization
Management Commands
^^^^^^^^^^^^^^^^^^^
* :djadmin:`dumpdata` now has the option ``--output`` which allows to specify the
file to which the serialized data is to be written.
* :djadmin:`dumpdata` now has the option :djadminopt:`--output` which allows
specifying the file to which the serialized data is written.
Models
^^^^^^