Skip to main content

Deletes old files.

Project description

# django-cleanup

django-cleanup automatically deletes old file for FileField, ImageField and subclasses,
and it also deletes files on models instance deletion.


## Installation

pip install django-cleanup


## Configuration

Add django_cleanup to settings.py

INSTALLED_APPS = (
...
'django_cleanup', # should go after your apps
)

Warning! django_cleanup should be placed after all your apps. (At least after those apps which need to remove files.)

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-cleanup-0.1.4.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file django-cleanup-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django-cleanup-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e0761e7c22a28e341b31b17621872991b9c29966bf8e19501892a73db3a60ef1
MD5 e5164af5a9aacae0bcabef6576d3952d
BLAKE2b-256 0fb71b0fd190b1fa7474ddf503acf91614a32bfcb0287da23e2919145bca6e9f

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