aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/models.py
diff options
context:
space:
mode:
authorBrian Zambrano2013-05-13 10:51:51 -0700
committerBrian Zambrano2013-05-13 14:41:12 -0700
commit24c9c455feaa47487196a2c9343746d7d5bdd962 (patch)
treebd3f067bb45d712a8287256b8f5383144e3902fa /rest_framework/tests/models.py
parent1154d873e956e89b1b994c3ac803d90cbfcedf59 (diff)
downloaddjango-rest-framework-24c9c455feaa47487196a2c9343746d7d5bdd962.tar.bz2
Allow for missing non-required nested objects.
Serializer fields which are themselves serializers should not be required. Specifically, if a nested object is set to "required=False", it should be possible to serialize the main object and have the sub-object set to None/null.
Diffstat (limited to 'rest_framework/tests/models.py')
0 files changed, 0 insertions, 0 deletions