Merge pull request #215 from saulshanabrook/patch-5

pass in upscale keyword to thumbnail template tag
This commit is contained in:
Matthew Tretter 2013-05-20 16:09:05 -07:00
commit 80008aee11

View file

@ -4,9 +4,9 @@ from .specs import ImageSpec
class Thumbnail(ImageSpec):
def __init__(self, width=None, height=None, anchor=None, crop=None, **kwargs):
def __init__(self, width=None, height=None, anchor=None, crop=None, upscale=None, **kwargs):
self.processors = [ThumbnailProcessor(width, height, anchor=anchor,
crop=crop)]
crop=crop, upscale=upscale)]
super(Thumbnail, self).__init__(**kwargs)