mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-05-05 14:46:20 +00:00
11 lines
237 B
Python
11 lines
237 B
Python
from rest_framework import serializers
|
|
|
|
from tickets.models import TicketSession
|
|
|
|
|
|
class TicketSessionRelationSerializer(serializers.ModelSerializer):
|
|
|
|
class Meta:
|
|
model = TicketSession
|
|
fields = ['ticket', 'session']
|