Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to send empty string fields as null. #78

Open
bhch opened this issue Nov 11, 2022 · 1 comment
Open

Option to send empty string fields as null. #78

bhch opened this issue Nov 11, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@bhch
Copy link
Owner

bhch commented Nov 11, 2022

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 bhch added the enhancement New feature or request label Nov 11, 2022
@dongyuzheng
Copy link

Swagger UI for inspiration

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants