<filename>api/serializers.py<gh_stars>1-10
""" Api serializers. """

# Django REST Framework
from django.db.models import fields
from rest_framework import serializers

# Models
from api.models import Room

class RoomModelSerializer(serializers.ModelSerializer):
    """ Room model serializer """
    class Meta:
        model = Room 
        fields = "__all__"

<filename>api/serializers.py<gh_stars>1-10
""" Api serializers. """

# Django REST Framework
from django.db.models import fields
from rest_framework import serializers

# Models
from api.models import Room

class RoomModelSerializer(serializers.ModelSerializer):
    """ Room model serializer """
    class Meta:
        model = Room 
        fields = "__all__"

Api serializers. # Django REST Framework # Models Room model serializer