Skip to content
  • Anatoliy Semenchuk's avatar
    Update User model and related configurations · 822beeaf
    Anatoliy Semenchuk authored
    - Introduce a new `has_profile` field in the User model to identify if a user has created a profile.
    - Update the `UserProfileMixin` to set the `has_profile` attribute to `True` upon user profile creation.
    - Integrate a custom user serializer, `CustomUserSerializer`, with Djoser settings to include the `has_profile` attribute in user-related API responses.
    822beeaf
To learn more about this project, read the wiki.
Loading