## Description The `choices` field for the `ChoiceField` class should be able to be edited after `ChoiceField.__init__` is called. ``` field = ChoiceField(choices=[1,2]) field.choices = [1] # Should no longer allow `2` as a choice ``` Currently, you must update `choices`, `grouped_choices`, and `choice_strings_to_values` to achieve this. This P/R keeps `grouped_choices` and `choice_strings_to_values` in sync whenever the `choices` are edited.
| Name |
Last commit
|
Last update |
|---|---|---|
| .tx | Loading commit data... | |
| docs | Loading commit data... | |
| docs_theme | Loading commit data... | |
| licenses | Loading commit data... | |
| requirements | Loading commit data... | |
| rest_framework | Loading commit data... | |
| tests | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .isort.cfg | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| ISSUE_TEMPLATE.md | Loading commit data... | |
| LICENSE.md | Loading commit data... | |
| MANIFEST.in | Loading commit data... | |
| PULL_REQUEST_TEMPLATE.md | Loading commit data... | |
| README.md | Loading commit data... | |
| codecov.yml | Loading commit data... | |
| mkdocs.yml | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| runtests.py | Loading commit data... | |
| setup.cfg | Loading commit data... | |
| setup.py | Loading commit data... | |
| tox.ini | Loading commit data... |