Skip to main content

Searches and removes unused media files.

Project description

Searches and removes unused media files.

Installation

  1. Install

pip install django-media-cleaner
  1. 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


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.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

django_media_cleaner-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for django-media-cleaner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ccd1cded27f705bb4867003e556bfe09e005bf53aa0cb18901c476bc518d4f4
MD5 b2df1d5dc9689e7a1eeddb8f6c62f2d9
BLAKE2b-256 8a7a31d795b23040ca48c2d9e52e2338be33e77555e5ed72bf39afe2d6a29995

See more details on using hashes here.

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

Hashes for django_media_cleaner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7790a9a1ef4b41898071ffa1e67672d0eaaef59e36f4103aa0845de0b8c4ce92
MD5 ae3a4020e5c99fee06426a676b2ba33e
BLAKE2b-256 880cf1cbcb51dc7dfd948f9cc4b034b59be6074d91f26bd299649e937f48144b

See more details on using hashes here.

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