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
Close
Hashes for django-transactional-cleanup-0.1.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1a434325fad1558bcada92597bcb7ffbbcfdd4d40d96d80cd309962fdae5835 |
|
MD5 | ec5f128c9b355737ae06cd19451ea402 |
|
BLAKE2b-256 | f59842f40186437018054bb15c9696b1ebcca3784e7f3b63d6f8ef8834c9b995 |