summaryrefslogtreecommitdiff
path: root/docs/howto/static-files
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/howto/static-files
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/howto/static-files')
-rw-r--r--docs/howto/static-files/deployment.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/static-files/deployment.txt b/docs/howto/static-files/deployment.txt
index 396c8c85c0..da0427343e 100644
--- a/docs/howto/static-files/deployment.txt
+++ b/docs/howto/static-files/deployment.txt
@@ -95,7 +95,7 @@ Here's how this might look in a fabfile::
from fabric.contrib import project
# Where the static files get collected locally. Your STATIC_ROOT setting.
- env.local_static_root = '/tmp/static'
+ env.local_static_root = '/path/to/static'
# Where the static files should go remotely
env.remote_static_root = '/home/www/static.example.com'