mirror of
https://github.com/task-17-lct/backend.git
synced 2024-11-30 22:33:44 +03:00
7 lines
274 B
Python
7 lines
274 B
Python
from rest_framework import serializers
|
|
from passfinder.events.api.serializers import EventSerializer
|
|
|
|
|
|
class TinderProceedSerializer(serializers.Serializer):
|
|
action = serializers.ChoiceField(['left', 'right'], write_only=True)
|
|
event = EventSerializer(read_only=True) |