author | Tero Marttila <terom@fixme.fi> |
Sat, 07 Feb 2009 16:33:27 +0200 | |
branch | sites |
changeset 31 | 107062ebb6f9 |
parent 30 | a86a25a9f75b |
child 32 | be954df4f0e8 |
permissions | -rw-r--r-- |
30
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
1 |
""" |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
2 |
The www.qmsk.net site is just a simple site with a filesystem-based URL mapping |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
3 |
""" |
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
4 |
|
31
107062ebb6f9
bloat code with even more layers of indirection, split off the filesystem-based stuff into a separate lib.filesystem package (next, move it to sites/www.qmsk.net)
Tero Marttila <terom@fixme.fi>
parents:
30
diff
changeset
|
5 |
from lib.filesystem.map import FilesystemMapper as _fstree |
30
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
6 |
|
31
107062ebb6f9
bloat code with even more layers of indirection, split off the filesystem-based stuff into a separate lib.filesystem package (next, move it to sites/www.qmsk.net)
Tero Marttila <terom@fixme.fi>
parents:
30
diff
changeset
|
7 |
# global mapper attribute |
107062ebb6f9
bloat code with even more layers of indirection, split off the filesystem-based stuff into a separate lib.filesystem package (next, move it to sites/www.qmsk.net)
Tero Marttila <terom@fixme.fi>
parents:
30
diff
changeset
|
8 |
handler = _fstree("pages") |
30
a86a25a9f75b
route requests through sites/www.qmsk.net, although still hardcoded
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
9 |