mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Fixed typo in docs/ref/django-admin.txt.
This commit is contained in:
parent
4043dc69cd
commit
59de9494e7
1 changed files with 1 additions and 1 deletions
|
@ -1940,5 +1940,5 @@ Output redirection
|
||||||
Note that you can redirect standard output and error streams as all commands
|
Note that you can redirect standard output and error streams as all commands
|
||||||
support the ``stdout`` and ``stderr`` options. For example, you could write::
|
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)
|
management.call_command('dumpdata', stdout=f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue