feat: 添加EXCLUDE_FIELDS_DEPT方便使用
This commit is contained in:
parent
d52a47839d
commit
addf8e771a
|
@ -2,6 +2,7 @@ from django.db import models
|
|||
|
||||
EXCLUDE_FIELDS_BASE = ['create_time', 'update_time', 'is_deleted']
|
||||
EXCLUDE_FIELDS = ['create_time', 'update_time', 'is_deleted', 'create_by', 'update_by']
|
||||
EXCLUDE_FIELDS_DEPT = EXCLUDE_FIELDS + ['belong_dept']
|
||||
|
||||
|
||||
class ObjCate(models.IntegerChoices):
|
||||
|
|
Loading…
Reference in New Issue