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
File details
Details for the file django-transactional-cleanup-0.1.14.tar.gz
.
File metadata
- Download URL: django-transactional-cleanup-0.1.14.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba26fb40f0339751fb70615ba56a1df646a9d3d693460b390fa12f3fcf96b85a |
|
MD5 | c45c3ee7322f7cb2e07f1df20027b4ca |
|
BLAKE2b-256 | 0e60e2f10e82e3840d876bd5c2ed69d6548fd3e692f788008998902037eaf605 |