twentytab-immortalmodel

A django model, manager and queryset implementing undeletable models


License
MIT
Install
pip install twentytab-immortalmodel==0.5

Documentation

django-immortalmodel

A django model, manager and queryset implementing undeletable models

Installation

Use the following command: pip install django-immortalmodel

Usage

  • models.py
from immortalmodel.models import ImmortalModel

class MyEternalModel(ImmortalModel):
    pass
  • admin.py
from immortalmodel.admin import ImmortalAdmin

class MyEternalModel(ImmortalAdmin):
    pass