[Answer]-Save and update json data to django models

1👍

Each time you save, you fetch data from the server and overwrite your model fields. You could check whether it’s a new object before fetching:

def save(self, *args, **kwargs):
    if not self.pk:
        self.get_oembed_info()
    super(Talk, self).save(*args, **kwargs)

Leave a comment