There is a compatibility issue between django 5.1 and easy_thumbnails 2.9. This commit fixes the issue.