comparison src/pages/blog_new/page_meta.py @ 988:d042f194624a

pages (blog_new): added name ("blog_new")
author Goffi <goffi@goffi.org>
date Thu, 30 Nov 2017 21:04:07 +0100
parents 96a56856d357
children fc1c913cc9d1
comparison
equal deleted inserted replaced
987:1bbc29aad56a 988:d042f194624a
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.tools.common import data_objects 7 from sat.tools.common import data_objects
8 8
9 name = u"blog_view"
9 access = C.PAGES_ACCESS_PUBLIC # can be a callable 10 access = C.PAGES_ACCESS_PUBLIC # can be a callable
10 template = u"blog/articles.html" 11 template = u"blog/articles.html"
11 12
12 @defer.inlineCallbacks 13 @defer.inlineCallbacks
13 def parse_url(self, request): 14 def parse_url(self, request):