pulseapi/entries/views.py [254:271]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def get_serializer_class(self):
        request = self.request

        if request and request.version == settings.API_VERSIONS['version_1']:
            return EntrySerializerWithV1Creators

        return EntrySerializerWithCreators

    def get_serializer_context(self):
        return {
            'user': self.request.user
        }

    # When people POST to this route, we want to do some
    # custom validation involving CSRF and nonce validation,
    # so we intercept the POST handling a little.
    @action(detail=True, methods=['post'])
    def post(self, request, *args, **kwargs):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pulseapi/entries/views.py [508:525]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def get_serializer_class(self):
        request = self.request

        if request and request.version == settings.API_VERSIONS['version_1']:
            return EntrySerializerWithV1Creators

        return EntrySerializerWithCreators

    def get_serializer_context(self):
        return {
            'user': self.request.user
        }

    # When people POST to this route, we want to do some
    # custom validation involving CSRF and nonce validation,
    # so we intercept the POST handling a little.
    @action(detail=True, methods=['post'])
    def post(self, request, *args, **kwargs):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



