- Combines any files configured in
STATIC_MEDIA_FILE_COMBINATIONS
. - Copies all media files configured in
STATIC_MEDIA_COPY_PATHS
. Compression is applied according toSTATIC_MEDIA_COMPRESS_CSS
andSTATIC_MEDIA_COMPRESS_JS
unless overridden by command-line options. - Copies all application media unless
STATIC_MEDIA_APP_MEDIA_PATH
isNone
.
-c, --compresscss
Override the STATIC_MEDIA_COMPRESS_CSS
setting and compress the css files while copying.
-j, --compressjs
Override the STATIC_MEDIA_COMPRESS_JS
setting and compress the javascript files while copying.
-p, --purge
Override the STATIC_MEDIA_PURGE_OLD_FILES
setting and purge all existing files in the destination before copying.