Searches and removes unused media files.
Project description
Searches and removes unused media files.
Installation
Install
pip install django-media-cleaner
Add to settings.py
INSTALLED_APPS = (
...
'django_media_cleaner',
...
)
Usage
To find all unused media files, run command:
./manage.py find_unused_media
To remove them:
./manage.py find_unused_media --delete
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-media-cleaner-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ccd1cded27f705bb4867003e556bfe09e005bf53aa0cb18901c476bc518d4f4 |
|
MD5 | b2df1d5dc9689e7a1eeddb8f6c62f2d9 |
|
BLAKE2b-256 | 8a7a31d795b23040ca48c2d9e52e2338be33e77555e5ed72bf39afe2d6a29995 |
Close
Hashes for django_media_cleaner-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7790a9a1ef4b41898071ffa1e67672d0eaaef59e36f4103aa0845de0b8c4ce92 |
|
MD5 | ae3a4020e5c99fee06426a676b2ba33e |
|
BLAKE2b-256 | 880cf1cbcb51dc7dfd948f9cc4b034b59be6074d91f26bd299649e937f48144b |