Fix after upgrading django-filter.
[redakcja.git] / src / cover / models.py
index 04c2a6b..87ac036 100644 (file)
@@ -73,7 +73,7 @@ class Image(models.Model):
             img,
             save=False
         )
-        super().save(**kwargs)
+        super().save(update_fields=['use_file'])
     
     def get_absolute_url(self):
         return reverse('cover_image', args=[self.id])