<reponame>kumaraswins/django<gh_stars>0
from rest_framework import serializers
from rest_framework import authentication as auth
from rest_framework import permissions as perm

from . import models
from project.users.models import User
from django.conf import settings



class CompanySerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = models.Company
        fields = ('id', 'name', 'location',)
from rest_framework import serializers
from rest_framework import authentication as auth
from rest_framework import permissions as perm

from . import models
from project.users.models import User
from django.conf import settings



class CompanySerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = models.Company
        fields = ('id', 'name', 'location',)