Mercurial > libervia-web
comparison libervia/pages/events/view/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 | 28e3eb3bb217 |
children | b2d067339de3 |
comparison
equal
deleted
inserted
replaced
1144:2af117bfe6cc | 1145:29eb15062416 |
---|---|
13 from sat.core.log import getLogger | 13 from sat.core.log import getLogger |
14 | 14 |
15 name = u"event_view" | 15 name = u"event_view" |
16 access = C.PAGES_ACCESS_PROFILE | 16 access = C.PAGES_ACCESS_PROFILE |
17 template = u"event/invitation.html" | 17 template = u"event/invitation.html" |
18 log = getLogger(u"pages/" + name) | 18 log = getLogger(__name__) |
19 | 19 |
20 | 20 |
21 @defer.inlineCallbacks | 21 @defer.inlineCallbacks |
22 def prepare_render(self, request): | 22 def prepare_render(self, request): |
23 template_data = request.template_data | 23 template_data = request.template_data |