diff options
author | 2020-03-21 10:04:44 -0700 | |
---|---|---|
committer | 2020-03-21 11:08:12 -0700 | |
commit | 145beb37fcb4fa2f487f18b234dd72bc4e10c279 (patch) | |
tree | c2fe86bae156cfa990c54fdf22b5d8c5b26f9932 /Pipfile.lock | |
parent | Use basename instead of base_name with DRF router (diff) |
Allow empty list for message embeds
By default, blank=False for ArrayFields but allow_empty=True for
ListField. Before DRF 3.10 there was a bug that ListField didn't respect
the default value of blank=False and thus created a ListField in the
serialiser with the default of allow_empty=True. We were relying on the
behaviour of that bug.
See encode/django-rest-framework#6597.
Diffstat (limited to 'Pipfile.lock')
0 files changed, 0 insertions, 0 deletions