Skip to content

Commit 1ef1928

Browse files
Add missing quoting for data keyword argument in serializer doc (encode#7587)
1 parent 563b043 commit 1ef1928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ For more information see the [validators documentation](validators.md).
251251

252252
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`.
253253

254-
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.
254+
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.
255255

256256
## Partial updates
257257

0 commit comments

Comments
 (0)