Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

jpadilla
Copy link
Contributor

@jpadilla jpadilla commented Dec 9, 2014

This makes a ChoiceField optional in HTML if model field has blank=True set.

Closes #2184.

This makes a ChoiceField optional in HTML if
model field has `blank=True` set.
@lovelydinosaur
Copy link
Contributor

Perfect!

@lovelydinosaur lovelydinosaur added this to the 3.0.1 Release milestone Dec 9, 2014
lovelydinosaur added a commit that referenced this pull request Dec 9, 2014
@lovelydinosaur lovelydinosaur merged commit 54a18a4 into encode:master Dec 9, 2014
@jpadilla
Copy link
Contributor Author

jpadilla commented Dec 9, 2014

We'll also need to update the signature for ChoiceField to include allow_blank

@lovelydinosaur
Copy link
Contributor

Kk, I'll get on that.

lovelydinosaur added a commit that referenced this pull request Dec 9, 2014
@lovelydinosaur
Copy link
Contributor

Done.

@jpadilla jpadilla deleted the allow-blank-choicefield branch December 9, 2014 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ChoiceField with required=False not optional in HTML view
2 participants