コード例 #1
0
	def __init__(self, router, payload):
		super().__init__(router, payload)

		self.__view = AboutView(self)
		self.__view.render(payload)
コード例 #2
0
from views import SimpleView, AboutView

routes = {'/': SimpleView(), '/about/': AboutView()}
コード例 #3
0
ファイル: routes.py プロジェクト: dorican/fwsgi_app
from views import IndexView, AboutView, OtherView

routes = {
    '/': IndexView(),
    '/about/': AboutView(),
    '/other/': OtherView(),
}