comparison libervia/pages/files/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
4 from libervia.server.constants import Const as C 4 from libervia.server.constants import Const as C
5 from twisted.internet import defer 5 from twisted.internet import defer
6 from twisted.words.protocols.jabber import jid 6 from twisted.words.protocols.jabber import jid
7 from sat.core.log import getLogger 7 from sat.core.log import getLogger
8 8
9 log = getLogger("pages/files") 9 log = getLogger(__name__)
10 """files handling pages""" 10 """files handling pages"""
11 11
12 name = u"files" 12 name = u"files"
13 access = C.PAGES_ACCESS_PROFILE 13 access = C.PAGES_ACCESS_PROFILE
14 template = u"file/discover.html" 14 template = u"file/discover.html"