comparison libervia/pages/events/new/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
9 """creation of new events""" 9 """creation of new events"""
10 10
11 name = u"event_new" 11 name = u"event_new"
12 access = C.PAGES_ACCESS_PROFILE 12 access = C.PAGES_ACCESS_PROFILE
13 template = u"event/create.html" 13 template = u"event/create.html"
14 log = getLogger(u"pages/" + name) 14 log = getLogger(__name__)
15 15
16 16
17 @defer.inlineCallbacks 17 @defer.inlineCallbacks
18 def on_data_post(self, request): 18 def on_data_post(self, request):
19 request_data = self.getRData(request) 19 request_data = self.getRData(request)