lookup.py
changeset 50 400ad4ffc150
parent 47 2cceeb731950
child 52 ee1e0491b4a0
equal deleted inserted replaced
49:f22d865fb0c2 50:400ad4ffc150
     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