Installation Instructions
pip install django-deletes # Doesnt work yet, clone the repo.
Add ‘softdeletes’ to INSTALLED_APPS in settings
Usage
Use Deletable class on the left most in the inhertance chain of the model.
Use objects = DeletableManager.from_queryset(DeletableQuerySet)()
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)
| 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.