Skip to content

Commit caebbf0

Browse files
committed
PR feedback
1 parent eaa045e commit caebbf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/rest-framework.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Other default attributes:
4444
Overriding Update Queries
4545
-------------------------
4646

47-
Use the method `resolve_serializer_inputs` to override how
48-
updates are queried.
47+
Use the method `get_serializer_kwargs` to override how
48+
updates are applied.
4949

5050
.. code:: python
5151
@@ -56,7 +56,7 @@ updates are queried.
5656
serializer_class = MyModelSerializer
5757
5858
@classmethod
59-
def resolve_serializer_inputs(cls, root, info, **input):
59+
def get_serializer_kwargs(cls, root, info, **input):
6060
if 'id' in input:
6161
instance = Post.objects.filter(id=input['id'], owner=info.context.user).first()
6262
if instance:

0 commit comments

Comments
 (0)