Skip to content

Adds BLANK_CHOICE_DASH as a choice item #853

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
merged 4 commits into from
May 18, 2013
Merged

Adds BLANK_CHOICE_DASH as a choice item #853

merged 4 commits into from
May 18, 2013

Conversation

pablorecio
Copy link
Contributor

If the model's field is a choice field and isn't required, adds django.db.models.fields.BLANK_CHOICE_DASH into the choices. Includes tests.

screen shot 2013-05-18 at 12 47 09

@pablorecio
Copy link
Contributor Author

Solves #725

Conflicts:
	rest_framework/tests/fields.py
@pablorecio
Copy link
Contributor Author

Updated with last version of master

tomchristie added a commit that referenced this pull request May 18, 2013
Adds BLANK_CHOICE_DASH as a choice item
@tomchristie tomchristie merged commit 0c95405 into encode:master May 18, 2013
@tomchristie tomchristie mentioned this pull request May 18, 2013
@pablorecio pablorecio deleted the 725-blank-choice-dash branch May 18, 2013 11:41
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