summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Musketa <daniel@musketa.de>2019-05-06 15:39:48 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-07 12:59:14 +0200
commit4cfbd2c0c2e48ab5eb65d2ae2968c58b2a71ab78 (patch)
tree0af976e0fc8d612009b90c2e702335fe245ce475
parent769f87fd2426aa7b21d535892fce75f070c21238 (diff)
[2.2.x] Fixed typo in docs/ref/django-admin.txt.
Backport of 59de9494e7513de29bc71bd0b27445daff25a4b3 from master
-rw-r--r--docs/ref/django-admin.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 80a4303509..13399f59f7 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1900,5 +1900,5 @@ Output redirection
Note that you can redirect standard output and error streams as all commands
support the ``stdout`` and ``stderr`` options. For example, you could write::
- with open('/path/to/command_output') as f:
+ with open('/path/to/command_output', 'w') as f:
management.call_command('dumpdata', stdout=f)