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
File details
Details for the file django-media-cleaner-0.1.0.tar.gz
.
File metadata
- Download URL: django-media-cleaner-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ccd1cded27f705bb4867003e556bfe09e005bf53aa0cb18901c476bc518d4f4 |
|
MD5 | b2df1d5dc9689e7a1eeddb8f6c62f2d9 |
|
BLAKE2b-256 | 8a7a31d795b23040ca48c2d9e52e2338be33e77555e5ed72bf39afe2d6a29995 |
File details
Details for the file django_media_cleaner-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_media_cleaner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7790a9a1ef4b41898071ffa1e67672d0eaaef59e36f4103aa0845de0b8c4ce92 |
|
MD5 | ae3a4020e5c99fee06426a676b2ba33e |
|
BLAKE2b-256 | 880cf1cbcb51dc7dfd948f9cc4b034b59be6074d91f26bd299649e937f48144b |