We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a671df + c302640 commit 89abdc1Copy full SHA for 89abdc1
apps/product/serializers.py
@@ -188,4 +188,4 @@ def to_representation(self, instance: RentalHistory) -> dict[str, Any]:
188
class RentalHistoryStatusSerializer(serializers.ModelSerializer[RentalHistory]):
189
class Meta:
190
model = RentalHistory
191
- fields = ("id", "status")
+ fields = ("id", "status", "rental_date", "return_date")
0 commit comments