from rest_framework import serializers
from .models import AirCraft, AirCraftInfo


class AircraftSerializer(serializers.ModelSerializer):
    """

    """


    class Meta:
        model = AirCraft
        fields = '__all__'


class AircraftInfoSerializer(serializers.ModelSerializer):
    """

    """
    aircraft = AircraftSerializer()


    class Meta:
        model = AirCraftInfo
        fields = ('aircraft', 'fuel_capacity_right_wing',
            'fuel_capacity_left_wing', 'gross_weight', 'harness_length',
            'atmospheric_pressure', 'room_temperature')

08c0f9f402de1bb817c3f7f2acbffab2142d8c32
<mask token>


class AircraftInfoSerializer(serializers.ModelSerializer):
    """

    """
    aircraft = AircraftSerializer()


    class Meta:
        model = AirCraftInfo
        fields = ('aircraft', 'fuel_capacity_right_wing',
            'fuel_capacity_left_wing', 'gross_weight', 'harness_length',
            'atmospheric_pressure', 'room_temperature')

<mask token>


class AircraftSerializer(serializers.ModelSerializer):
    <mask token>


    class Meta:
        model = AirCraft
        fields = '__all__'


class AircraftInfoSerializer(serializers.ModelSerializer):
    """

    """
    aircraft = AircraftSerializer()


    class Meta:
        model = AirCraftInfo
        fields = ('aircraft', 'fuel_capacity_right_wing',
            'fuel_capacity_left_wing', 'gross_weight', 'harness_length',
            'atmospheric_pressure', 'room_temperature')

<mask token>


class AircraftSerializer(serializers.ModelSerializer):
    """

    """


    class Meta:
        model = AirCraft
        fields = '__all__'


class AircraftInfoSerializer(serializers.ModelSerializer):
    """

    """
    aircraft = AircraftSerializer()


    class Meta:
        model = AirCraftInfo
        fields = ('aircraft', 'fuel_capacity_right_wing',
            'fuel_capacity_left_wing', 'gross_weight', 'harness_length',
            'atmospheric_pressure', 'room_temperature')

from rest_framework import serializers
from .models import AirCraft, AirCraftInfo


class AircraftSerializer(serializers.ModelSerializer):
    """

    """


    class Meta:
        model = AirCraft
        fields = '__all__'


class AircraftInfoSerializer(serializers.ModelSerializer):
    """

    """
    aircraft = AircraftSerializer()


    class Meta:
        model = AirCraftInfo
        fields = ('aircraft', 'fuel_capacity_right_wing',
            'fuel_capacity_left_wing', 'gross_weight', 'harness_length',
            'atmospheric_pressure', 'room_temperature')
