I have this in my models.py:
class MyModel(models.Model)
imgA = ThumbnailerImageField(upload_to="site_images/",
null=True, blank=True)
imgB = ThumbnailerImageField(upload_to="site_images/",
null=True, blank=True)
and I want to copy imgA to imgB so I tried:
def copy_thumbnailer():
obj = MyModel.objects.get(id=1)
obj.imgB = obj.imgA
obj.save()
The function run with no errors, but the ThumbnailerImageField it's not copied. There's some way to achieve this?