Fix JSON
This commit is contained in:
parent
9b4923fc04
commit
5c7fe716ad
3 changed files with 20 additions and 22 deletions
|
|
@ -50,10 +50,7 @@ def save_object(sender, instance, **kwargs):
|
|||
in order to store each modification made
|
||||
"""
|
||||
# noinspection PyProtectedMember
|
||||
if instance._meta.label_lower in EXCLUDED:
|
||||
return
|
||||
|
||||
if hasattr(instance, "_no_log"):
|
||||
if instance._meta.label_lower in EXCLUDED or hasattr(instance, "_no_log"):
|
||||
return
|
||||
|
||||
# noinspection PyProtectedMember
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue