This Django app facilitates the transfer of static media files to a remote location, while offering the choice to compress CSS and JavaScript files. It can be effectively utilized to maintain consistency across multiple servers.
This application is especially helpful if you serve your media from another server. It comprises a management command known as copy_static_media and various settings that make customization seamless.
The Static_media_copy_paths are a tuple of dictionaries that specify the 'from/to' paths for copying files. This feature makes it easy to keep your files synchronized across multiple locations.
Another important setting is Static_media_purge_old_files which allows you to decide whether old files should be purged from the destination directory. This feature ensures that you only have the latest versions of your files.
The Static_media_compress_css settings compress CSS files during copy using the included port of YUI Compressor. Additionally, the Static_media_compress_js setting compresses JavaScript files during copying using the included port of Douglas Crockford's jsmin.
The application makes it easy to manage your media files with its Static_media_app_media_path feature that allows you to specify where and if application media should be copied automatically.
Lastly, Static_media_file_combinations provide configuration options for combining multiple files into a single file. This is a handy feature that helps optimize your application's performance.
Overall, Django-staticmediamgr is an essential tool for anyone who needs to manage their static media files efficiently.
Version 0.3: N/A