Skip to content

add support for Yes/No literals with BooleanField #7701

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

Merged

Conversation

kuter
Copy link
Contributor

@kuter kuter commented Jan 26, 2021

Description

That change add support for "Yes" and "No" literals and evaluate them to Boolean value.

@tomchristie
Copy link
Member

Fair enough, given that we currently support eg. "yes", and "YES".

@tomchristie tomchristie merged commit e9a54e3 into encode:master Mar 9, 2021
@kuter
Copy link
Contributor Author

kuter commented Mar 9, 2021

thanks ! ;)

stefanacin pushed a commit to stefanacin/django-rest-framework that referenced this pull request Mar 22, 2021
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants