diff --git a/app/item/models.py b/app/item/models.py index c8c1772..b9e160c 100644 --- a/app/item/models.py +++ b/app/item/models.py @@ -37,7 +37,8 @@ class Item(models.Model): user = models.ForeignKey(User, null=True, related_name='items', on_delete=models.CASCADE) def save(self, *args, **kwargs): - if self.url and not self.data.get("url") == self.url: + #if self.url and not self.data.get("url") == self.url: + if self.url: self.update_data() super().save(*args, **kwargs)