Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.Choiceclass to add choice validation to the baseModelFieldclass. I have verified that it is working with at least theIntegerandStringfields.