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.15.tar.gz
.
File metadata
- Download URL: django-transactional-cleanup-0.1.15.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a434325fad1558bcada92597bcb7ffbbcfdd4d40d96d80cd309962fdae5835 |
|
MD5 | ec5f128c9b355737ae06cd19451ea402 |
|
BLAKE2b-256 | f59842f40186437018054bb15c9696b1ebcca3784e7f3b63d6f8ef8834c9b995 |