Mercurial > libervia-web
comparison libervia/pages/blog/page_meta.py @ 1145:29eb15062416
pages: set __name__ for imported pages
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Jan 2019 08:41:43 +0100 |
parents | e45480b6ba24 |
children | b2d067339de3 |
comparison
equal
deleted
inserted
replaced
1144:2af117bfe6cc | 1145:29eb15062416 |
---|---|
5 from twisted.words.protocols.jabber import jid | 5 from twisted.words.protocols.jabber import jid |
6 from twisted.internet import defer | 6 from twisted.internet import defer |
7 from libervia.server import session_iface | 7 from libervia.server import session_iface |
8 from sat.core.log import getLogger | 8 from sat.core.log import getLogger |
9 | 9 |
10 log = getLogger("pages/blog") | 10 log = getLogger(__name__) |
11 | 11 |
12 name = u"blog" | 12 name = u"blog" |
13 access = C.PAGES_ACCESS_PUBLIC | 13 access = C.PAGES_ACCESS_PUBLIC |
14 template = u"blog/discover.html" | 14 template = u"blog/discover.html" |
15 | 15 |