Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/20tab/django-immortalmodel

A django model, manager and queryset implementing undeletable models
https://github.com/20tab/django-immortalmodel

Last synced: 21 days ago
JSON representation

A django model, manager and queryset implementing undeletable models

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

```