Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 4.1 template tag 'thumbnail' conflict with sorl-thumbnails #609

Closed
MarcoGlauser opened this issue Sep 26, 2022 · 0 comments
Closed

Comments

@MarcoGlauser
Copy link

Django 4.1 added a system check to find duplicate template tags at startup. If easy-thumbnails and sorl-thumbnails are installed in the same project, it will detect the possible clash and will exit with an error. This happens even if the tags are not used in any template.

SystemCheckError: System check identified some issues:

ERRORS:
?: (templates.E003) 'thumbnail' is used for multiple template tag modules: 'easy_thumbnails.templatetags.thumbnail', 'sorl.thumbnail.templatetags.thumbnail'

I've added a minimal reproduction here:
https://github.com/MarcoGlauser/template_tag_conflict
Simply run a manage.py command like makemigrations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant