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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f32ceb5212d09448863071d92ec78c8ad6c70f0b7c24314e1acd16c2583c4e |
|
MD5 | fa8823edbfcf387dab77b99fdac3127a |
|
BLAKE2b-256 | 023c1e640ad701b0882024139d3d15ccb59baac17dd2f747bcb98c359e75415c |