From 7729e75343aef95e6a112f0c0296ffbdcb457413 Mon Sep 17 00:00:00 2001 From: Thomas Riccardi Date: Fri, 9 Oct 2020 13:32:41 +0200 Subject: [PATCH] Add missing quoting for `data` keyword argument in serializer doc --- docs/api-guide/serializers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index efa325620..5e2705834 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -251,7 +251,7 @@ For more information see the [validators documentation](validators.md). When passing an initial object or queryset to a serializer instance, the object will be made available as `.instance`. If no initial object is passed then the `.instance` attribute will be `None`. -When passing data to a serializer instance, the unmodified data will be made available as `.initial_data`. If the data keyword argument is not passed then the `.initial_data` attribute will not exist. +When passing data to a serializer instance, the unmodified data will be made available as `.initial_data`. If the `data` keyword argument is not passed then the `.initial_data` attribute will not exist. ## Partial updates