Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ BookSerializer
Class
BookSerializer
locallibrary/catalog/serializers.py:23–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
22
23
class
BookSerializer(serializers.ModelSerializer):
24
author = serializers.StringRelatedField()
25
genre = GenreSerializer(many=True)
26
class
Meta:
27
model = Book
28
fields =
'__all__'
Callers
3
BookListView
Function · 0.70
BookDetailView
Function · 0.70
BookSpecificView
Function · 0.70
Calls
1
GenreSerializer
Class · 0.85
Tested by
no test coverage detected