title: How to allow more than one image upload on django?
body: <p>Currently I have a pictures model, that allows an image upload per class product (Foreign key). </p>
  
  <p>However I would like to upload more than one image per product</p>
  
  <p>Below shows my models.py for Class picture. </p>
  
  <pre><code>
  def get_image_filename(instance,filename):
      id = instance.product.id
      return "picture_image/%s" % (id)
  
  def path_and_rename(instance, filename):
      upload_to = 'images'
      ext = filename.split('.'[-1])
      if instance.pk:
          filename = '{}.{}'.format(instance.pk, ext)
      else:
          filename = '{}.{}'.format(uuid4().hex, ext)
      return os.path.join(upload_to, filename)
  
  class Picture(models.Model):
      product_pic = models.ImageField(null=True, blank=True,upload_to=path_and_rename)
      product = models.ForeignKey(Product, null=True, on_delete=models.SET_NULL )
      date_created = models.DateTimeField(auto_now_add=True, null=True)
  
  
  </code></pre>
  
  <p>How does one allow more than one image upload on django?</p>