diff options
author | 2020-08-28 12:58:55 +0530 | |
---|---|---|
committer | 2020-08-28 12:58:55 +0530 | |
commit | 567f7f0c4a71ace555c9b3123ef50d6ae47756cd (patch) | |
tree | 00cc320c5e4096eddcf9ac92b0dfd35321e5f48c /Pipfile.lock | |
parent | Except AttributeError when self.instance is None and while fetching User obje... (diff) |
Add code to replace restframework_bulk package for bulk create and simplify UserListSerializer
`to_internal_value()` function is not longer overriden in UserListSerializer, this is due to explicitly stating the `id` field in UserSerializer as mentioned in the documentation.
Override `create()` method in UserListSerializer and override `get_serializer()` method in `UserViewSet` to support bulk creation.
Diffstat (limited to 'Pipfile.lock')
0 files changed, 0 insertions, 0 deletions