from rest_framework import serializers
from cars.models import Cars


class CarSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Cars
        fields = ('name', 'seller', 'offerType', 'abtest', 'vehicleType',
            'yearOfRegistration', 'gearbox', 'powerPS', 'model',
            'kilometer', 'monthOfRegistration', 'fuelType', 'brand',
            'notRepairedDamage', 'postalCode', 'nrOfPictures')

3490fdd0e3d80f9687054a71d54b7c391137dffe
<mask token>

<mask token>


class CarSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Cars
        fields = ('name', 'seller', 'offerType', 'abtest', 'vehicleType',
            'yearOfRegistration', 'gearbox', 'powerPS', 'model',
            'kilometer', 'monthOfRegistration', 'fuelType', 'brand',
            'notRepairedDamage', 'postalCode', 'nrOfPictures')

from rest_framework import serializers
from cars.models import Cars


class CarSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Cars
        fields = ('name', 'seller', 'offerType', 'abtest', 'vehicleType',
            'yearOfRegistration', 'gearbox', 'powerPS', 'model',
            'kilometer', 'monthOfRegistration', 'fuelType', 'brand',
            'notRepairedDamage', 'postalCode', 'nrOfPictures')
