Mercurial > libervia-web
annotate libervia/pages/u/atom.xml/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 | 469d0de8da0e |
children | b2d067339de3 |
rev | line source |
---|---|
1017
8e7897b1008a
pages (blog/atom.xml, u/atom.xml): Atom feed implementation:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 #!/usr/bin/env python2.7 |
8e7897b1008a
pages (blog/atom.xml, u/atom.xml): Atom feed implementation:
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
1113
cdd389ef97bc
server: code style reformatting using black
Goffi <goffi@goffi.org>
parents:
1017
diff
changeset
|
3 redirect = u"blog_feed_atom" |
1171
469d0de8da0e
pages (blog, u): added atom feed link in "links" template data.
Goffi <goffi@goffi.org>
parents:
1124
diff
changeset
|
4 name = u"user_blog_feed_atom" |