Skip to content
Myr

Merge pull request #3343 from gruentee/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fix typo: base on -> based on

authored by Joshua Bronson · committed by GitHub · parents b3b3828, b839beb · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/viewdecorators.rst+1 added-1 removed
68 unmodified lines
69straightforward to read.7071The decorated function will then work as follows72731. get the unique cache key for the current request base on the current731. get the unique cache key for the current request based on the current74 path.752. get the value for that key from the cache. If the cache returned76 something we will return that value.773. otherwise the original function is called and the return value is
95 unmodified lines