Sfoglia il codice sorgente

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

Daniel Musketa 5 anni fa
parent
commit
59de9494e7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)