title: How do I take input as String and save as Binary in Django using Django REST Framework?
body: <p>Here is my model:</p>
  
  <pre><code>class Example(models.Model):
      file = S3PrivateFileField()
      text = models.TextField(null=True, blank=True)
      binary = models.BinaryField(null=True, blank=True)
  </code></pre>
  
  <p>and here is the serializer:</p>
  
  <pre><code>class ExampleSerializer(ModelSerializer):
  
      class Meta:
          model = Example
          fields = ['file', 'text', 'binary']
  </code></pre>
  
  <p>First of all, in the Browsable API, I can see the <code>file</code> and <code>text</code> fields but not the <code>binary</code> fields. How do I see that field?</p>
  
  <p>Secondly, the input data type for the <code>binary</code> field is <code>string</code> and I would like to save it as <code>binary</code> data in the database. How can I get it to work?</p>