from rest_framework import serializers
from reqman.apps.account.models import User
from reqman.apps.reqtool.models.requirements import Boilerplate

class UserSerializer(serializers.ModelSerializer):
    #boilerplates = serializers.PrimaryKeyRelatedField(many=True, queryset=Boilerplate.objects.all())

    class Meta:
        model = User
        fields = ['pk', 'first_name', 'last_name', 'email' ]#, 'boilerplates']