File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,16 @@ The amount of time (in seconds) to cache the result of the check of the
187
187
modification timestamp of a file. Disabled by default. Should be smaller
188
188
than ``COMPRESS_REBUILD_TIMEOUT `` and ``COMPRESS_MINT_DELAY ``.
189
189
190
+ What if I have my media spread through many apps?
191
+ *************************************************
192
+
193
+ You can use the AppSavvyCompressorFileStorage, which tries to find media using the following order:
194
+
195
+ * First looks in your media folder as specified by MEDIA_PATH in your settings file.
196
+ * Then it looks in every app /media folder in the same order as the apps are specified in your INSTALLED_APPS setting.
197
+ * If none found then you get an error.
198
+
199
+ To use it, just change the setting 'COMPRESS_STORAGE' to 'compressor.storage.AppSavvyCompressorFileStorage' and you are done.
190
200
191
201
Dependencies
192
202
************
@@ -206,3 +216,4 @@ Dependencies
206
216
.. _BeautifulSoup : http://www.crummy.com/software/BeautifulSoup/
207
217
.. _lxml : http://codespeak.net/lxml/
208
218
.. _libxml2 : http://xmlsoft.org/
219
+
You can’t perform that action at this time.
0 commit comments