@ -314,6 +314,7 @@ class ManagementPassword(generics.GenericAPIView):
return Response('user not found', status=404)
user.set_password(password)
user.is_active=True
user.save()
logger.info('''set password: %s to the
@ -8,7 +8,7 @@ class TopicSerializer(serializers.ModelSerializer):
class Meta:
model = Topic
exclude = ['id']
fields = '__all__'
@staticmethod
def get_children(self):