Metadata-Version: 2.1
Name: django-generic-delete
Version: 1.0.1
Summary: this application is for handling delete operations in the system
Home-page: https://github.com/fritill-team/django-generic-delete
Author: fritill
Author-email: mahmoud.nasser@fritill.com
License: MIT
Keywords: django translation custom
Platform: any
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
License-File: LICENSE

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

