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?
to your account
$(form).serialize() serialize checkbox with no value to "on" or "off"
Add "on" to TRUE_VALUES and "off" to FALSE_VALUES
(I don't always have the control over html/js to add value to checkboxes).
Value is ignored
The text was updated successfully, but these errors were encountered:
Support 'on'/'off' literals with BooleanField. Closes #4624
I'm a little lukewarm on this, but sure, let's go ahead. Seems a common enough style.
Sorry, something went wrong.
Support 'on'/'off' literals with BooleanField. Closes #4624 (#4640)
No branches or pull requests