diff --git a/api-guide/serializers.html b/api-guide/serializers.html index 3ac1a909c..0380f7285 100644 --- a/api-guide/serializers.html +++ b/api-guide/serializers.html @@ -314,7 +314,7 @@ The ModelSerializer class lets you automatically create a Serialize def get_related_field(self, model_field, to_many=False): queryset = model_field.rel.to._default_manager if to_many: - return return serializers.ManyRelatedField(queryset=queryset) + return serializers.ManyRelatedField(queryset=queryset) return serializers.RelatedField(queryset=queryset) def get_field(self, model_field):