Mercurial > libervia-web
comparison libervia/pages/events/page_meta.py @ 1193:aee3d8fa679f
pages: fixed cached data when `url_cache` is used:
`request.template_data` and `request.data` where cached using a shallow copy,
causing trouble when a mutable object was used.
This has been fixed by using a deepcopy, which should not be a resource issue as
`request.data` and `request.template_data` should contain a few data in most
cases.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 12 Jun 2019 20:05:45 +0200 |
parents | 92ca86e417e3 |
children | b2d067339de3 |
comparison
equal
deleted
inserted
replaced
1192:7b05ebc46141 | 1193:aee3d8fa679f |
---|