title: Is it best practise to always have serializer objects correspond to models in Django?
body: <p>Using the django rest framework, if I have, say, a view to sign a user in that requires the requestor to send the following JSON:</p>
  
  <pre><code>{
      "username": "johnyappleseed",
      "password": "md783bfaHVfa"
  }
  </code></pre>
  
  <p>Is it within best practice to have some serializer class along the lines of:</p>
  
  <pre><code>class SignInSerializer (serializers.Serializer):
      username = serializers.CharField( ... )
      password = serializers.CharField( ... )
  </code></pre>
  
  <p>to validate requests made by clients?</p>
  
  <p>If not, how does one go about validating such requests?</p>