feat: add Category model to customer serializers
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 27s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 27s
This commit is contained in:
parent
80ea0858ee
commit
60f5e9bc3c
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from rest_framework import serializers
|
|||
from django.contrib.auth.models import User
|
||||
from crm.models import CRMAdmin, AuditLog, WithdrawalRequest, RefundRecord, ReturnPickup
|
||||
from seller_models.models import SupplierProfile, Product, Wallet, WalletTransaction
|
||||
from customer_models.models import CustomerProfile, Order
|
||||
from customer_models.models import Category, CustomerProfile, Order
|
||||
|
||||
class CRMAdminSerializer(serializers.ModelSerializer):
|
||||
username = serializers.CharField(source='user.username', read_only=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue