mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
Remove save kwarg--that's what generate() does!
This commit is contained in:
parent
a08edaca56
commit
41fa197212
2 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ class ImageSpecCacheFile(BaseIKFile, ImageFile):
|
|||
def validate(self):
|
||||
return self.spec.image_cache_backend.validate(self)
|
||||
|
||||
def generate(self, save=True):
|
||||
def generate(self):
|
||||
if self.source_file: # TODO: Should we error here or something if the source_file doesn't exist?
|
||||
# Process the original image file.
|
||||
content = self.spec.apply(self.source_file)
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class Simple(CachedValidationBackend):
|
|||
Generates a new image by running the processors on the source file.
|
||||
|
||||
"""
|
||||
file.generate(save=True)
|
||||
file.generate()
|
||||
|
||||
def invalidate(self, file):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue