Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

flake8 and doc fixes for refs #22257.

  • Loading branch information...
commit e3c4205b79cff2be809c3698df2e9d53303b5070 1 parent 16affff
@timgraham timgraham authored
View
2  django/core/management/commands/dumpdata.py
@@ -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
4 docs/ref/django-admin.txt
@@ -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
4 docs/releases/1.8.txt
@@ -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
^^^^^^
Please sign in to comment.
Something went wrong with that request. Please try again.