Skip to main content

Installation Instructions

  1. pip install django-deletes # Doesnt work yet, clone the repo.

  2. Add ‘softdeletes’ to INSTALLED_APPS in settings

Usage

  1. Use Deletable class on the left most in the inhertance chain of the model.

  2. Use objects = DeletableManager.from_queryset(DeletableQuerySet)()

  3. If you want to use a custom manager or a custom Queryset, make sure your custom manager inherits from DeletableManagerMixin and your custom QuerySet inherits from Deletable QuerySetMixin

Caution

All cascading delete models should be made deletable, otherwise cascading delete would do a real delete to the foreignkey related models.

Metadata

Release files for django-deletes 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-deletes 0.1
File Size Uploaded Provenance
django-deletes-0.1.tar.gz 4.5 kB Without provenance Details

Release files / django-deletes-0.1.tar.gz

Download URL django-deletes-0.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eeb73331a8d066c4bbb3d61e6587b4fb9ec4bfa1f1a33bfc11a52bd99e0211c6
BLAKE2b-256 checksum
How to use checksums
1fe703592464f7c1b7f4a094197fa3aaba323cc0c4dddceef696483fcbe4aece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-deletes 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page