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

Fix CachedLoader when template_dirs is None #498

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

karthikprabhu
Copy link

From Django 1.10 onwards, template_dirs isn't passed while getting the template: https://github.com/django/django/blob/1.10/django/template/engine.py#L155. This causes multi tenant template cache to fail as the cache key is dependent on template_dirs.

From Django 1.10 onwards, `template_dirs` isn't passed while getting the template: https://github.com/django/django/blob/1.10/django/template/engine.py#L155. This causes multi tenant template cache to fail as the cache key is dependent on template_dirs.
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

Successfully merging this pull request may close these issues.

1 participant