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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a7dd7896fcdc1eb049d6f90581120ca7b039632bb805fcfd83a6cfa29620f1 |
|
MD5 | 075018ef5b9dd268d79969df38c1d8ca |
|
BLAKE2b-256 | ec9143d48608426f4743ad4ab582399d0f841ae347c6b43281c0d34b2b15f147 |