Extract keyfunc from template cache tag #482

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

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.

nosamanuel added some commits Oct 31, 2012

Extract make_key from template cache tag
This allows the make_key function to be reused to expire a cache key
outside the context of a template.
Owner

apollo13 commented Nov 3, 2012

Where is an accepted ticket for that? Please read our contribution guidelines: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#patch-style -- Also patches should go to master instead of 1.5, we'll backport from master into 1.5.x and not the other way around. Please open a ticket and once it's accepted open a new pull requests.

@apollo13 apollo13 closed this Nov 3, 2012

I opened ticket #19253 for this issue and I'll open a new pull request against master if it's accepted.

nanuxbe pushed a commit to nanuxbe/django that referenced this pull request Jul 2, 2016

Merge pull request #482 from xavierdutreilh/fix-470
Style definition terms in glossaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment