Ross ROSS = Recommend OSS · open-source software intelligence for agents

un1t/django-cleanup

Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion. observed · 2026-08-28

github.com/un1t/django-cleanup · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

44/100

  • Activity 25
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5132
  • days_rel: n/a
  • days_push: 454
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1212 stars · 79 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Django app that automatically deletes old files for FileField and ImageField when their values change or when the model instance is deleted. It works via Django signal handlers and transaction-aware file deletion.

Use cases

  • automatically delete old files when a FileField is updated in Django
  • remove uploaded images when a Django model instance is deleted
  • clean up orphaned media files from Django models
  • prevent stale uploads from accumulating on disk
  • manage file lifecycle for Django ImageField models

When to choose

  • you use Django's FileField or ImageField and want automatic file cleanup
  • you want a zero-configuration app that hooks into Django signals
  • your database supports transactions and you need safe file deletion on rollback

When to avoid

  • you use a database without transaction support
  • your models are not properly loaded in models.py
  • you need cleanup for non-Django file storage outside the ORM

Facets

library · maturity stable

file-system middleware web-development backend files python django filefield imagefield file-cleanup orm-signals

2 sources

Member repositories

RepositoryRoleHealth v2
un1t/django-cleanupmain44

For agents

markdown · JSON · MCP: product_card(name="un1t/django-cleanup")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem