Django app to copy media files to a remote place, also can minifying css and js
This app provides a way to copy and consolidate static media files to one or more
configured locations. This is incredibly helpful if you have your media served
from another server.
It consists of a management command, copy_static_media, and several settings including:
* STATIC_MEDIA_COPY_PATHS A tuple of dictionaries specifying the from/to for copying files.
* STATIC_MEDIA_PURGE_OLD_FILES Should old files be purged from the destination directory.
* STATIC_MEDIA_COMPRESS_CSS Should CSS files be compressed during copy using the included port of YUI Compressor
* STATIC_MEDIA_COMPRESS_JS Should javascript files be compressed during copy using the included python port of Douglas Crockford's jsmin
* STATIC_MEDIA_APP_MEDIA_PATH Where (and if) should the application media be copied to automatically.
* STATIC_MEDIA_FILE_COMBINATIONS Configuration of combining multiple files into one.
Author:
--------
Corey Oordt, The Washington Times
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python:misc/python-django-staticmediamgr && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
django-staticmediamgr-0.6.tar.gz | 0000559798 547 KB | |
python-django-staticmediamgr.changes | 0000000488 488 Bytes | |
python-django-staticmediamgr.spec | 0000002618 2.56 KB |
Latest Revision
Non-integrated tw package cleanup, batched
Comments 0