annotate libervia/pages/app/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 28e3eb3bb217
children b2d067339de3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1004
2f994b4e5a7d pages (app): added named page "app"
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/env python2.7
2f994b4e5a7d pages (app): added named page "app"
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
2f994b4e5a7d pages (app): added named page "app"
Goffi <goffi@goffi.org>
parents:
diff changeset
3
1113
cdd389ef97bc server: code style reformatting using black
Goffi <goffi@goffi.org>
parents: 1004
diff changeset
4 name = u"app"
1004
2f994b4e5a7d pages (app): added named page "app"
Goffi <goffi@goffi.org>
parents:
diff changeset
5 template = u"app/app.html"