diff --git a/apps/loans/api/LoansList/serializers.py b/apps/loans/api/LoansList/serializers.py index cc91fa9..df49abd 100644 --- a/apps/loans/api/LoansList/serializers.py +++ b/apps/loans/api/LoansList/serializers.py @@ -1,8 +1,12 @@ from rest_framework import serializers from apps.loans.models import Loan +from apps.clients.api.ClientsDetail.serializers import ClientDetailSerializer + class LoansListSerializer(serializers.ModelSerializer): + client = ClientDetailSerializer() + class Meta: model = Loan fields = "__all__"