<filename>organizations/serializers.py
from .models import *
from rest_framework import serializers


class OrganizationsSerializer(serializers.ModelSerializer):
    class Meta:
        model = GithubOrganization
        fields = '__all__'

<filename>organizations/serializers.py
from .models import *
from rest_framework import serializers


class OrganizationsSerializer(serializers.ModelSerializer):
    class Meta:
        model = GithubOrganization
        fields = '__all__'
