We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41865df commit 33aacadCopy full SHA for 33aacad
rest_framework_json_api/utils.py
@@ -215,7 +215,7 @@ def get_resource_type_from_serializer(serializer):
215
# Check the meta class for resource_name
216
return serializer.Meta.resource_name
217
except AttributeError:
218
- # Use the serializer model then then pluralize and format
+ # Use the serializer model then pluralize and format
219
return format_relation_name(serializer.Meta.model.__name__)
220
221
0 commit comments