from apps.units import models
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = models.Unit
        fields = ('id', 'name', 'status', 'desc')




05428abd34ecdf85065c1280ae1c7b85de4d3e0d
<mask token>

<mask token>


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = models.Unit
        fields = 'id', 'name', 'status', 'desc'

from apps.units import models
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = models.Unit
        fields = 'id', 'name', 'status', 'desc'

from apps.units import models
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = models.Unit
        fields = ('id', 'name', 'status', 'desc')



