I have person model:
class Assistant(models.Model):
name = models.CharField(max_length=100)
age = models.PositiveIntegerField()
photo = models.ImageField(upload_to='photos/')
using Django REST how a photo was loaded from https://thispersondoesnotexist.com when creating a new assistant
I understand that you need to override the create method
how to do it in the best way?
ss