include all fields of model in django rest framework admin class code example
Example: serializers.py include all fields
# Include all fields in the Order model in the Serializer
class OrderSerializer(serializers.ModelSerializer):
class Meta:
model = Order
fields = '__all__'