title: How remove password from response in django
body: <p>Code:
  SERILIZERS</p>
  <pre><code>class RegisterSerializer(serializers.ModelSerializer):
  class Meta:
      model = User
      fields = (&quot;email&quot;, &quot;user_name&quot;, &quot;password&quot;)
  
  def create(self, validated_data):
      return User.objects.create_user(**validated_data)
  </code></pre>
  <p>VIEWS</p>
  <pre><code>@api_view([&quot;POST&quot;])
  @permission_classes([AllowAny])
  def CreateUserView(request):
      serializer = RegisterSerializer(data=request.data)
      if serializer.is_valid():
         user = serializer.save()
         if user:
            return Response(serializer.data, status=status.HTTP_201_CREATED)
      return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
  </code></pre>
  <p>MODELS</p>
  <pre><code>class CustomAccountManager(BaseUserManager):
  def create_user(self, email, user_name, password, **other_fields):
  
      if not email:
          raise ValueError(_(&quot;You must provide an email address&quot;))
      email = self.normalize_email(email)
      user = self.model(email=email, user_name=user_name, **other_fields)
      user.set_password(password)
      user.save()
      return user
  </code></pre>
  <p>After i post user i got response data with password.</p>
  <pre><code>{
  &quot;email&quot;: &quot;mawqgvxdfdat1@mat.com&quot;,
  &quot;user_name&quot;: &quot;sdwxcvgfsdefsdf&quot;,
  &quot;password&quot;: &quot;pbkdf2_sha256$320000$g74DLAMRDypcK6LuGriBio$
  }
  </code></pre>
  <p>How can i remove that password from returned data?</p>