mirror of https://github.com/jumpserver/jumpserver
20 lines
320 B
Python
20 lines
320 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
from rest_framework import serializers
|
|
|
|
import models
|
|
|
|
|
|
class ProxyLogSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = models.ProxyLog
|
|
|
|
|
|
class CommandLogSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = models.CommandLog
|
|
|
|
|
|
|