code: def image_upload_to(self, filename):
          
          now = timezone.now()
          filename, extension = os.path.splitext(filename)
  
          return os.path.join(
              UPLOAD_TO,
              now.strftime('%Y'),
              now.strftime('%m'),
              now.strftime('%d'),
              '%s%s' % (slugify(filename), extension))
docs: Compute the upload path for the image field.