summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2015-12-23 17:08:40 +0000
committerTim Graham <timograham@gmail.com>2015-12-24 09:54:33 -0500
commit77b8d8cb6d6d6345f479c68c4892291c1492ba7e (patch)
treea42ca617d80dcaaa3db36069688e141e154c4dc1 /docs/man
parenta856555df2a1b4ddad8bf21243de0bcbcc12fb20 (diff)
Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs.
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/django-admin.12
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1
index abb09f354a..3f07cc0e7a 100644
--- a/docs/man/django-admin.1
+++ b/docs/man/django-admin.1
@@ -2404,7 +2404,7 @@ support the \fBstdout\fP and \fBstderr\fP options. For example, you could write:
.sp
.nf
.ft C
-with open(\(aq/tmp/command_output\(aq) as f:
+with open(\(aq/path/to/command_output\(aq) as f:
management.call_command(\(aqdumpdata\(aq, stdout=f)
.ft P
.fi