feature/fix_accout_not_found
Andrey 8 years ago
parent 01dd3e9715
commit 1fcb8d2eb0
  1. 2
      access/views.py

@ -302,7 +302,7 @@ class ManagementPassword(generics.GenericAPIView):
--- ---
Generate new password to the student and send email with new password Generate new password to the student and send email with new password
""" """
serializer = self.get_serializer(data=request.JSON) serializer = self.get_serializer(data=request.JSON.dict())
serializer.is_valid(raise_exception=True) serializer.is_valid(raise_exception=True)
serializer.save() serializer.save()
logger.info(f'set password: {serializer.password} to the ' logger.info(f'set password: {serializer.password} to the '

Loading…
Cancel
Save