Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shavkatjon-O committed Sep 15, 2024
1 parent 5d57678 commit d9c8425
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/loans/api/LoansList/serializers.py
Original file line number Diff line number Diff line change
@@ -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__"
Expand Down

0 comments on commit d9c8425

Please sign in to comment.