mirror of https://github.com/jumpserver/jumpserver
13 lines
237 B
Python
13 lines
237 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
|
||
|
from rest_framework import serializers
|
||
|
|
||
|
from .models import Role, User, UserGroup
|
||
|
|
||
|
|
||
|
class UserSerializer(serializers.HyperlinkedModelSerializer):
|
||
|
class Meta:
|
||
|
model = User
|
||
|
fields = '__all__'
|