Skip to content
Snippets Groups Projects
Commit ede43047 authored by Raphael Collet's avatar Raphael Collet
Browse files

[IMP] adapt all calls to ormcache() to its new API

This fixes a bug on some methods.  Because `ormcache` uses the decorator
`decorator`, the `context` argument is passed positionally to the decorated
lookup method, instead of being passed as a keyword argument.  As a
consequence, the context dictionary is included in the cache key, which makes
the cache lookup fail all the time.

Using the new API of `ormcache` gracefully fixes this issue.
parent 8d4fb747
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment