瀏覽代碼

Fixed typo in docs/ref/django-admin.txt.

Daniel Musketa 5 年之前
父節點
當前提交
59de9494e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/django-admin.txt

+ 1 - 1
docs/ref/django-admin.txt

@@ -1940,5 +1940,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)