Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API Hangouts] Create Serializer for Hangouts Endpoint #166

Open
BethanyG opened this issue Aug 26, 2020 · 4 comments
Open

[API Hangouts] Create Serializer for Hangouts Endpoint #166

BethanyG opened this issue Aug 26, 2020 · 4 comments
Labels

Comments

@BethanyG
Copy link
Member

BethanyG commented Aug 26, 2020

PARENT TRACKER ISSUE: #160

Create a Serializer for the New Hangouts api Endpoint. Please review issue #161 as background to make sure the latest GET representation is used, and any POST differences are taken into consideration.

See DRF ModelSerialize, DRF Serializer Relations, and DRF Nested Relationships for more information.

See https://github.com/codebuddies/backend/blob/master/cbv3_django_prototype/cbv3_django_prototype/resources/serializers.py as one implementation done for resources.

Please note that the serializer code related to Tags is its own endpoint, tagging. Below is an example from the resources endpoint on how tagging is used:

from rest_framework import serializers
from .models import Resource
from userauth.serializers import UserSerializer
from tagging.serializers import TagSerializer, TagsSerializerField


class ResourceSerializer(TagSerializer, serializers.ModelSerializer):

    tags = TagsSerializerField(model_field='tags', default='')
    media_type = serializers.SerializerMethodField()
    user = UserSerializer(read_only=True)
@BethanyG BethanyG added enhancement New feature or request P1 for MVP labels Aug 26, 2020
@BethanyG BethanyG changed the title [API] Create Serializer for Hangouts Endpoint [API Hangouts] Create Serializer for Hangouts Endpoint Sep 24, 2020
@stale
Copy link

stale bot commented Oct 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 24, 2020
@BethanyG BethanyG removed the stale label Oct 24, 2020
@stale
Copy link

stale bot commented Nov 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 23, 2020
@BethanyG
Copy link
Member Author

Still open.

@BethanyG BethanyG removed the stale label Nov 23, 2020
@stale
Copy link

stale bot commented Dec 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 23, 2020
@BethanyG BethanyG removed the stale label Dec 24, 2020
@lpatmo lpatmo added the pinned label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants