Django 3, how to tell ModelViewSet that a certain field is not required?

前端 未结 0 628
广开言路
广开言路 2021-01-23 03:15

So I have a reservation modelviewset, which calls a serializer that takes a user, room, start time and end time and when I run it it keeps saying the user is required.

I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题