chore(core): update Current ModelHistory query to exclude new AuditHistory model

ref: #772 #759
This commit is contained in:
2025-05-25 10:38:40 +09:30
parent 766b4272be
commit d31b70a2a0

View File

@ -116,6 +116,8 @@ class ViewSet(ReadOnlyModelViewSet):
history_models = ContentType.objects.filter(
model__contains = 'history'
).exclude(
model__contains = 'audithistory'
).exclude(
app_label = 'core',
model = 'modelhistory'