<filename>technical_reserve/serializers.py<gh_stars>1-10
from rest_framework import serializers
from .models import TechnicalReserve


class TechnicalReserveSerializer(serializers.ModelSerializer):
    class Meta:
        model = TechnicalReserve
        fields = [
            'id',
            'code',
            'length',
            'lattitude',
            'longitude',
        ]

<filename>technical_reserve/serializers.py<gh_stars>1-10
from rest_framework import serializers
from .models import TechnicalReserve


class TechnicalReserveSerializer(serializers.ModelSerializer):
    class Meta:
        model = TechnicalReserve
        fields = [
            'id',
            'code',
            'length',
            'lattitude',
            'longitude',
        ]
