Skip to main content

Searches and removes unused media files.

Project description

Searches and removes unused media files.


  1. Install

pip install django-media-cleaner
  1. Add to



To find all unused media files, run command:

./ find_unused_media

To remove them:

./ find_unused_media --delete

How to run tests

python -m venv venv
source venv/bin/activate
pip install -r tests/requirements.txt
pip install -e .

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-media-cleaner-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

django_media_cleaner-0.1.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page