diff options
Diffstat (limited to 'ishtar_common/serializers_utils.py')
| -rw-r--r-- | ishtar_common/serializers_utils.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/ishtar_common/serializers_utils.py b/ishtar_common/serializers_utils.py index ef36e2695..2242c349e 100644 --- a/ishtar_common/serializers_utils.py +++ b/ishtar_common/serializers_utils.py @@ -161,7 +161,8 @@ def generic_get_results(model_list, dirname, no_geo=True,                  new_result += result_to_add                  result[key] = json.dumps(new_result, indent=2) -        excluded_fields = ["history_modifier", "history_creator", "imports"] +        excluded_fields = ["history_modifier", "history_creator", "imports", +                           "locked", "lock_user"]          if hasattr(model, "SERIALIZATION_EXCLUDE"):              excluded_fields = list(model.SERIALIZATION_EXCLUDE)          if no_geo: | 
