Skip to content

AngelLiang/django-softdeletion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django softdeletion

基于 django 的软删除插件

主要功能

  • 支持软删除
  • 支持级联软删除
  • 软删除的数据不在 django admin 中显示

安装

pip install django-softdeletion

使用方法

from django.db import models
from django_softdeletion import SoftDeletionModelMixin


class CustomModel(SoftDeletionModelMixin, models.Model):
    ...

About

A simple django plugin for softdeletion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages