semvec/pypi-packages huggingface dataset:
django-generic-delete 1.0.1
this application is for handling delete operations in the system
License: MIT
Keywords: django translation custom

# Soft Delete
## Installation
```cd
pip install django-softdelete
```

## Configuration

```python
INSTALLED_APPS = [
    ...,
    
    'softdelete',
]
```


### in urls
```python
urlpatterns = [
    ....
    path('delete/', include('softdelete.urls', namespace='softdelete'))
]
```


## Usage

### In models
* Extend 
```python

# 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
```