equal
deleted
inserted
replaced
1 |
1 |
2 import os, os.path |
2 import os, os.path |
3 |
3 |
4 from qmsk.web import http, template, map |
4 from qmsk.web import http, template, handler |
5 |
5 |
6 import page, page_tree |
6 import page, page_tree |
7 |
7 |
8 class PageMapper (map.Mapper) : |
8 class PageMapper (handler.RequestHandler) : |
9 """ |
9 """ |
10 Translates requests to handlers based on a filesystem directory containing various kinds of files |
10 Translates requests to handlers based on a filesystem directory containing various kinds of files |
11 """ |
11 """ |
12 |
12 |
13 # list of page handlers, by type |
13 # list of page handlers, by type |