django/django — pull request #482 by nosamanuel (2012-10-31 19:40:30+00:00)
Title: Extract keyfunc from template cache tag

This pull request refactors the template cache tag's keyfunc into a new `make_key` function that can be reused to expire a cache key outside the context of a template.