From 7154191fd7648f93a83de1bca8c43bfb974f79da Mon Sep 17 00:00:00 2001 From: Joe Michelini Date: Sun, 21 Mar 2021 15:40:50 -0400 Subject: [PATCH] fix formatting --- docs/api-guide/fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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