Re: Problem with caching template loader

2016-07-07 Thread Preston Timmons
Yep, that looks wrong. Looks like it was added in this commit: https://github.com/django/django/commit/f33db5a09acfc3df3085235a5712c46094eb9a0d The test case could be improved also by checking the appropriate key is set. Preston -- You received this message because you are subscribed to the

Problem with caching template loader

2016-07-07 Thread Curtis Maloney
Hey, a client of mine was having a strange bug with the caching template loader, which we've yet to identify, but as I was looking at the code, I saw the following: def load_template(self, template_name, template_dirs=None): key = self.cache_key(template_name, template_dirs)