diff --git a/management/commands/process_bundles.py b/management/commands/process_bundles.py index 4baf557..2b8784a 100644 --- a/management/commands/process_bundles.py +++ b/management/commands/process_bundles.py @@ -54,6 +54,9 @@ def handle(self, *args, **options): point.fetch_secondary_identifier() point.save() + + if install_supports_jsonfield() is False: + bundle.properties = json.dumps(bundle.properties, indent=2) bundle.processed = True bundle.save()