jumpserver/apps/audits/serializers.py

14 lines
216 B
Python
Raw Normal View History

2018-04-06 03:27:52 +00:00
# -*- coding: utf-8 -*-
#
from rest_framework import serializers
from .models import FTPLog
class FTPLogSerializer(serializers.ModelSerializer):
class Meta:
model = FTPLog
fields = '__all__'