1. Davor Lucic
  2. django-imagekit


Justin Driscoll  committed 49f2ca3

Fixed indentation error

  • Participants
  • Parent commits 3152e2c
  • Branches default

Comments (0)

Files changed (1)

File imagekit/models.py

View file
                 self._imgfield.storage.save(name, content)
         if clear_cache and self._imgfield != '':
-            self._pre_cache()
+        self._pre_cache()
     def delete(self):
         assert self._get_pk_val() is not None, "%s object can't be deleted because its %s attribute is set to None." % (self._meta.object_name, self._meta.pk.attname)