Skip to content

WhoIsSerializer

Overview

This is a serializer for the current user, it is simpler than the other user serializers.

These fields give the user information about themselves, after they login or when they return to the site.

Meta

Source

server/vueda/user/serializers.py:78

get_fields

Return the dict of field names -> field instances that should be used for self.fields when instantiating the serializer.

Signature

get_fields(self)

Parameters

NameTypeRequiredDescription
selfyes

Source

server/vueda/user/serializers.py:90

get_recently_logged_in

Signature

get_recently_logged_in(self, _)

Parameters

NameTypeRequiredDescription
selfyes
_yes

Source

server/vueda/user/serializers.py:104

_declared_fields

groups

recently_logged_in

Source

server/vueda/user/serializers.py:68

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2