Name |
Last commit
|
Last update |
---|---|---|
docs | ||
docs_theme | ||
rest_framework | ||
tests | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
MANIFEST.in | ||
README.md | ||
mkdocs.yml | ||
requirements.txt | ||
runtests.py | ||
setup.cfg | ||
setup.py | ||
tox.ini |
A PATCH to a serializer's non-related CharField was clearing an ancillary StringRelatedField(many=True) field. The issue appears to be in the ManyRelatedField's get_value method, which was returning a [] instead of empty when the request data was a MultiDict. This fix mirrors code in fields.py, class Field, get_value, Ln. 272, which explicitly returns empty on a partial update. Tests added to demonstrate the issue.
Name |
Last commit
|
Last update |
---|---|---|
docs | Loading commit data... | |
docs_theme | Loading commit data... | |
rest_framework | Loading commit data... | |
tests | Loading commit data... | |
.gitignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
MANIFEST.in | Loading commit data... | |
README.md | 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... |