django-cleanup
JSON →django-cleanup is a lightweight Django library that automatically deletes files associated with `FileField` and `ImageField` when their corresponding model instances are deleted or when the file itself is changed. This prevents orphaned files from cluttering storage. It integrates seamlessly into existing Django projects with minimal configuration, supporting bulk deletions and various storage backends (e.g., local filesystem, Amazon S3). The current version is 9.0.0, released on September 18, 2024, and it aims to maintain compatibility with currently supported Django and Python versions.
Traffic · last 30 days ↓40% vs prev 7d
total hits 12
actors 7 distinct systems
last hit 3d ago ByteDance
top countries 🇫🇷 France · 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/django-cleanup
compatibility /v1/registry/django-cleanup/compatibility