sites/irclogs.qmsk.net/handlers.py
branchsites
changeset 29 b06ff4c05d42
child 36 02d4040d5946
equal deleted inserted replaced
28:b68145b5ce24 29:b06ff4c05d42
       
     1 """
       
     2     Our URL action handlers
       
     3 """
       
     4 
       
     5 def index (request) :
       
     6     """
       
     7         The topmost index page, display a list of available channels, perhaps some general stats
       
     8     """
       
     9 
       
    10     pass
       
    11 
       
    12 def channel_view (request, channel) :
       
    13     """
       
    14         The main channel view page, display the most important info, and all requisite links
       
    15     """
       
    16 
       
    17     pass
       
    18 
       
    19 def channel_last (request, channel, lines, type='html') :
       
    20     """
       
    21         Display the last x lines of channel messages in various formats
       
    22     """
       
    23 
       
    24     pass
       
    25