this application is for handling delete operations in the system
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-generic-delete-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d4cc65cd11adc7f02fa15996b15e3ad60ac6632c19a2fda3fc0def363f8ee46 |
|
MD5 | c1799bd3e33fdca802e5d48875842c3d |
|
BLAKE2b-256 | 4ac0a5620d9ce26b7d33d6b9cd71958f7cbe182513ac77c5c6211be63390669a |