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
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/user/serializers.py:90
get_recently_logged_in
Signature
get_recently_logged_in(self, _)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| _ | yes |
Source
server/vueda/user/serializers.py:104
_declared_fields
groups
recently_logged_in
Source
server/vueda/user/serializers.py:68