From 4cfbd2c0c2e48ab5eb65d2ae2968c58b2a71ab78 Mon Sep 17 00:00:00 2001 From: Daniel Musketa Date: Mon, 6 May 2019 15:39:48 +0200 Subject: [PATCH] [2.2.x] Fixed typo in docs/ref/django-admin.txt. Backport of 59de9494e7513de29bc71bd0b27445daff25a4b3 from master --- docs/ref/django-admin.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)