django-prune-uploads - Prune and maintain file uploads
Steps
- Install
django-prune-uploads
using pip and addprune_uploads
to yourINSTALLED_APPS
. - Run
./manage.py prune_uploads
and have a look at the output (does not change anything in the database or the file system!) - Run
./manage.py prune_uploads -v2
for a potentially much more verbose report. - Run
./manage.py prune_uploads --help
to learn about the available options for actually changing and/or removing files and records.