diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index eeab382d8..04f993942 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -583,7 +583,7 @@ The serializer method referred to by the `method_name` argument should accept a class Meta: model = User - fields = '__all__' + fields = '__all__' def get_days_since_joined(self, obj): return (now() - obj.date_joined).days