title: Django Rest Framework - How to import image as JPEG and save it as base 64 using serializer?
body: <p>Model:</p>
  
  <pre><code>class Item(models.Model):
  
     class Meta:
         db_table = 't_item'
  
     item_name = models.CharField(max_length=200)
     image = models.ImageField(upload_to='item_images')
     created_at = models.DateTimeField(default=datetime.now, blank=True)
     updated_at = models.DateTimeField(default=datetime.now, blank=True)
  
     def __str__(self):
         return self.item_name
  </code></pre>
  
  <p>Serializer:</p>
  
  <pre><code>class ItemSerializer(serializers.HyperlinkedModelSerializer):
      class Meta:
          model = Item
          # Fields you want to be returned or posted
          fields = ('item_name', 'image', 'created_at', 'updated_at')
  </code></pre>
  
  <p>In the web view form, I want to import an image in JPEG format, and when it is posted, I want it to be saved as Base 64 format in the location specified in 'upload_to'. Is this possible?</p>