-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add choices parameter to all fields #57
Conversation
Looks nice! I've not really figured out how this interacts in the integer case, since it's typed as Also, looks like the test case needs some tweaking?... https://travis-ci.org/encode/orm/jobs/654198625?utm_medium=notification&utm_source=github_status |
…lly; test integer and boolean choices
@tomchristie My |
This PR resolves #35. It uses the
typesystem.Choice
class to add choice validation to the baseModelField
class. I have verified that it is working with at least theInteger
andString
fields.