Skip to main content

Deletes old files on transaction commit.

Project description

django-transactional-cleanup automatically deletes old file for FileField,

ImageField and subclasses, and it also deletes files on models instance deletion. This app is based on django-cleanup.

Warning: It depends on django-transaction-hooks app and you need to configure your database backend to use a django-transactional-hooks backend or any that use the django-transactional-hooks backend mixin. See the documentation here: https://django-transaction-hooks.readthedocs.org/.

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-transactional-cleanup-0.1.14.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file django-transactional-cleanup-0.1.14.tar.gz.

File metadata

File hashes

Hashes for django-transactional-cleanup-0.1.14.tar.gz
Algorithm Hash digest
SHA256 ba26fb40f0339751fb70615ba56a1df646a9d3d693460b390fa12f3fcf96b85a
MD5 c45c3ee7322f7cb2e07f1df20027b4ca
BLAKE2b-256 0e60e2f10e82e3840d876bd5c2ed69d6548fd3e692f788008998902037eaf605

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