astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

feat(backend): support for custom profile serializers #46

Closed allynt closed 4 years ago

allynt commented 4 years ago

Added a serializer_class kwarg for UserProfileField that takes the name of a custom serializer to use. The corresponding UserProfile is given a get_serializer_class fn that returns either that serializer or else the GenericProfileSerializer to use in serialization/deserialization.

IssueID #14