comparison libervia/pages/events/admin/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 0f37b65fe7c2
comparison
equal deleted inserted replaced
1144:2af117bfe6cc 1145:29eb15062416
13 import re 13 import re
14 14
15 name = u"event_admin" 15 name = u"event_admin"
16 access = C.PAGES_ACCESS_PROFILE 16 access = C.PAGES_ACCESS_PROFILE
17 template = u"event/admin.html" 17 template = u"event/admin.html"
18 log = getLogger(u"pages/" + name) 18 log = getLogger(__name__)
19 REG_EMAIL_RE = re.compile(C.REG_EMAIL_RE, re.IGNORECASE) 19 REG_EMAIL_RE = re.compile(C.REG_EMAIL_RE, re.IGNORECASE)
20 20
21 21
22 def parse_url(self, request): 22 def parse_url(self, request):
23 self.getPathArgs( 23 self.getPathArgs(