Function result caching in Django
Allows you to make an arbitrary function's results cached for a period of time (also known as memoize).
- django
- cache
Allows you to make an arbitrary function's results cached for a period of time (also known as memoize).
This tag is equivalent to {% cycle %} but resets when we exit the containing loop. See Django ticket "Cycle tag should reset after it steps out of scope" [https://code.djangoproject.com/ticket/5908](https://code.djangoproject.com/ticket/5908) This code is a lightly modified version of Simon Litchfield's attachment on that ticket.