chore(core): update Current ModelHistory query to exclude new AuditHistory
model
ref: #772 #759
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user