Soft Delete
Installation
pip install django-softdelete
Configuration
INSTALLED_APPS = [
...,
'softdelete',
]
in urls
urlpatterns = [
....
path('delete/', include('softdelete.urls', namespace='softdelete'))
]
Usage
In models
- Extend
# import this
from softdelete.models import SoftDeletionModel
class YourModel(SoftDeletionModel):
# your fields
pass
Override templates
- in your
templates
add the following directory
templates/
softdelete/
delete.configuration.html
Metadata
Release files for django-generic-delete 1.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 | Actions |
|---|---|---|---|---|
| django-generic-delete-1.1.tar.gz | 5.1 kB | Without provenance | Details for django-generic-delete-1.1.tar.gz |
Release files / django-generic-delete-1.1.tar.gz
| Download URL | django-generic-delete-1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93a7dd7896fcdc1eb049d6f90581120ca7b039632bb805fcfd83a6cfa29620f1
|
|
BLAKE2b-256 checksum How to use checksums |
ec9143d48608426f4743ad4ab582399d0f841ae347c6b43281c0d34b2b15f147
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
|
Security for django-generic-delete 1.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.