ProfileDetail¶
Qualified name: intranet.apps.users.api.ProfileDetail
- class intranet.apps.users.api.ProfileDetail(**kwargs)[source]¶
Bases:
RetrieveAPIView
API endpoint that retrieves an Ion profile.
/api/profile: retrieve your profile /api/profile/<pk>: retrieve the profile of the user with id <pk> /api/profile/<username>: retrieve the profile of the user with username <username>
Methods
retrieve
Attributes
permission_classes