summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-02-09 05:00:55 +0100
committerJannis Leidel <jannis@leidel.info>2011-02-09 05:00:55 +0100
commit2a80974bbdfcf4cba42064973f862f5148c67b98 (patch)
tree5090407fb982ae3d42ed789bc4678a15e5c9d5a7 /docs
parent4b916124a228244696e93fcb366578d33972bac6 (diff)
downloaddjango-compressor-2a80974bbdfcf4cba42064973f862f5148c67b98.tar.gz
Note the new defaults for COMPRESS_ROOT and COMPRESS_URL in the docs. Closes #3.
Diffstat (limited to 'docs')
-rw-r--r--docs/index.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/index.txt b/docs/index.txt
index 6776441..83b9295 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -122,25 +122,35 @@ Boolean that decides if compression will happen.
COMPRESS_URL
------------
-:Default: ``MEDIA_URL``
+:Default: ``STATIC_URL`` (``MEDIA_URL`` for older Django versions)
Controls the URL that linked media will be read from and compressed media
will be written to.
+.. note::
+
+ This settings defaults to ``MEDIA_URL`` in case ``STATIC_URL``
+ is not given, e.g. on older Django versions (<1.3).
+
COMPRESS_ROOT
-------------
-:Default: ``MEDIA_ROOT``
+:Default: ``STATIC_ROOT`` (``MEDIA_ROOT`` for older Django versions)
Controls the absolute file path that linked media will be read from and
compressed media will be written to.
+.. note::
+
+ This settings defaults to ``MEDIA_ROOT`` in case ``STATIC_ROOT``
+ is not given, e.g. on older Django versions (<1.3).
+
COMPRESS_OUTPUT_DIR
-------------------
:Default: ``'cache'``
-Controls the directory inside `COMPRESS_ROOT` that compressed files will
+Controls the directory inside COMPRESS_ROOT_ that compressed files will
be written to.
COMPRESS_CSS_FILTERS