django-jsonform icon indicating copy to clipboard operation
django-jsonform copied to clipboard

Option to send empty string fields as `null`.

Open bhch opened this issue 3 years ago • 1 comments

Two ways to do this:

  • Either checkbox on the form to toggle this behaviour
  • Or an argument on the JSONField to configure this: empty_string_as_null=True.

bhch avatar Nov 11 '22 19:11 bhch

Swagger UI for inspiration

image

dongyuzheng avatar Nov 11 '22 19:11 dongyuzheng