We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5331d commit 02021dfCopy full SHA for 02021df
dbdiff/utils.py
@@ -17,6 +17,8 @@ def get_tree(dump, exclude=None):
17
tree[instance['model']] = {}
18
19
exclude_fields = exclude.get(instance['model'], [])
20
+ exclude_fields += exclude.get('*', [])
21
+
22
tree[instance['model']][instance['pk']] = {
23
name: value for name, value in instance['fields'].items()
24
if name not in exclude_fields
0 commit comments