Make Django's manage.py dumpdata command work on version 2.0+
Make Django's manage.py dumpdata command work on version 2.0+

Currently, running the dumpdata command gives an error message:
"Unable to serialize database: 'JSONField' object has no
 attribute '_get_val_from_obj'". That's because this method was
deprecated in Django 2.0[1]. In newer versions of Django,
value_from_object method should be used instead.

[1] https://code.djangoproject.com/ticket/24716

release-engineering/kobo,release-engineering/kobo,release-engineering/kobo,release-engineering/kobo