from django.contrib.auth.models import User, Group
from models import project
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = User
        fields = ('url', 'username', 'email', 'groups')


class GroupSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = Group
        fields = ('url', 'name')


class ProjectSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = project
        fields = ('name', 'location', 'apiurl', 'active')






        #sync test
2093d1d3505e82a3fd353dfa9ae53fd52ab9dac8
<mask token>

<mask token>


class GroupSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Group
        fields = 'url', 'name'


class ProjectSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = project
        fields = 'name', 'location', 'apiurl', 'active'

<mask token>


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = User
        fields = 'url', 'username', 'email', 'groups'


class GroupSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Group
        fields = 'url', 'name'


class ProjectSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = project
        fields = 'name', 'location', 'apiurl', 'active'

from django.contrib.auth.models import User, Group
from models import project
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = User
        fields = 'url', 'username', 'email', 'groups'


class GroupSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Group
        fields = 'url', 'name'


class ProjectSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = project
        fields = 'name', 'location', 'apiurl', 'active'

from django.contrib.auth.models import User, Group
from models import project
from rest_framework import serializers


class UserSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = User
        fields = ('url', 'username', 'email', 'groups')


class GroupSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = Group
        fields = ('url', 'name')


class ProjectSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = project
        fields = ('name', 'location', 'apiurl', 'active')






        #sync test