Skip to main content

Prune and maintain file uploads

Project description

  1. Install django-prune-uploads using pip and add prune_uploads to your INSTALLED_APPS.

  2. Run ./manage.py prune_uploads and have a look at the output (does not change anything in the database or the file system!)

  3. Run ./manage.py prune_uploads -v2 for a potentially much more verbose report.

  4. Run ./manage.py prune_uploads --help to learn about the available options for actually changing and/or removing files and records.

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_prune_uploads-0.2.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

django_prune_uploads-0.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file django_prune_uploads-0.2.0.tar.gz.

File metadata

  • Download URL: django_prune_uploads-0.2.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

File hashes

Hashes for django_prune_uploads-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9fd53717af2e5759ab4b5d2dc25e1336ee2734ce2ff44d89879ecf7a9e8d6063
MD5 ffb560814964deeece61cd6432ba24d3
BLAKE2b-256 b641dd3a519c49c75baed4734a96f4442390d02f63c6b3e88dfd86c35c5eb4e4

See more details on using hashes here.

Provenance

File details

Details for the file django_prune_uploads-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: django_prune_uploads-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7

File hashes

Hashes for django_prune_uploads-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74e49f93a54455a4dcf0325a1c48022913b71ae49cb448164de76b19c33acbd0
MD5 63b92dd16e3a64fac134570ee7ef1b6f
BLAKE2b-256 d1473cd81b00fbb9e384d315b31309e039ddb8c5823a34b837b3027e798cc249

See more details on using hashes here.

Provenance

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