diff --git a/resize/templatetags/resize.py b/resize/templatetags/resize.py index 591d783..d6a8be9 100644 --- a/resize/templatetags/resize.py +++ b/resize/templatetags/resize.py @@ -26,7 +26,7 @@ def global_function(func): @register.filter -@lib.global_function +@library.global_function def resize(img_file, size=100): try: return resize_image(img_file, size)