The CustomTokenRefreshSerializer uses the default django user model from auth but later, a custom user model was introduced by PR #35 called CustomUser in models.py.
Because of this, when the endpoint api/login/refresh is returning a Server Error (500 status code).
Update the user model in the CustomTokenRefreshSerializer to use CustomUser instead of User.
The
CustomTokenRefreshSerializer
uses the default django user model from auth but later, a custom user model was introduced by PR #35 calledCustomUser
in models.py.Because of this, when the endpoint api/login/refresh is returning a Server Error (500 status code).
Update the user model in the
CustomTokenRefreshSerializer
to use CustomUser instead of User.