forked from PoolC/Yuzuki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
route.py
29 lines (27 loc) · 802 Bytes
/
route.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from twisted.web.static import File
from resource.index import Index
from resource.article import ArticleParent
from resource.reply import ReplyParent
from resource.about import About
from resource.board import BoardView
from resource.hello import Hello
from resource.login import Login
from resource.logout import Logout
from resource.register import Register
from resource.welcome import Welcome
from resource.profile import Profile
ROUTE = {
"": Index(),
"article": ArticleParent(),
"reply": ReplyParent(),
"about": About(),
"board": BoardView(),
"login": Login(),
"logout": Logout(),
"register": Register(),
"favicon.ico": File("static/img/favicon.ico"),
"static": File("static"),
"hello": Hello(),
"welcome": Welcome(),
"profile": Profile(),
}