sites/www.qmsk.net/__init__.py
author Tero Marttila <terom@fixme.fi>
Sat, 07 Feb 2009 17:10:06 +0200
branchsites
changeset 34 09196d5b2a39
parent 32 be954df4f0e8
child 35 79ea0e2a6cc2
permissions -rw-r--r--
move lib.filesystem code to sites/www.qmsk.net, part one
"""
    The www.qmsk.net site is just a simple site with a filesystem-based URL mapping
"""

from lib import template
import map

# global mapper attribute
handler = map.FilesystemMapper("pages", template=template.TemplateLoader.load("sites/www.qmsk.net/templates/layout.tmpl"))