What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-02 13:18:08
django many to many post update method via rest
class GroupMembershipSerializer(ModelSerializer): class Meta: model = Membership fields = ('person',) class GroupCreateSerializer(ModelSerializer): memberships = GroupMembershipSerializer(many=True, required=False) def creat... Add solution
Best helpers
Ranking is empty