openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[change:controller] Replace thirdparty JSONField with Django built in JSONField

Open nemesifier opened this issue 7 months ago • 0 comments

The JSONField we currently use is just a text field with JSON validation and formatting, which has served us pretty well but hasn't received updates in 5 years: https://github.com/rpkilby/jsonfield/.

The Django JSONField has been around for some time and seems supported on all the databases we use, hence can switch to this field.

We'll need to pay particular attention to ensuring data is automatically migrated without loss.

nemesifier avatar May 30 '25 14:05 nemesifier