https://github.com/20tab/django-immortalmodel
A django model, manager and queryset implementing undeletable models
https://github.com/20tab/django-immortalmodel
Last synced: about 1 year ago
JSON representation
A django model, manager and queryset implementing undeletable models
- Host: GitHub
- URL: https://github.com/20tab/django-immortalmodel
- Owner: 20tab
- License: mit
- Created: 2014-02-06T15:53:35.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T20:47:23.000Z (about 7 years ago)
- Last Synced: 2025-03-03T00:04:14.645Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
django-immortalmodel
=======================
A django model, manager and queryset implementing undeletable models
## Installation
Use the following command: pip install django-immortalmodel
## Usage
- models.py
```py
from immortalmodel.models import ImmortalModel
class MyEternalModel(ImmortalModel):
pass
```
- admin.py
```py
from immortalmodel.admin import ImmortalAdmin
class MyEternalModel(ImmortalAdmin):
pass
```