view example.ini @ 9:051d4d39b4b9

* separate out get_response to its own function * keep track of raw content_type for later usage (muahaha)
author k0s <k0scist@gmail.com>
date Sun, 07 Feb 2010 19:03:15 -0500
parents 1a267297f779
children a9ddcfc7c4e8
line wrap: on
line source

#!/usr/bin/env paster

[DEFAULT]
debug = true
email_to = k0scist@gmail.com
smtp_server = localhost
error_email_from = paste@localhost

[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 6666

[composite:main]
use = egg:Paste#urlmap
/ = contenttransformer

set debug = false

[app:contenttransformer]
paste.app_factory = contenttransformer.factory:factory
transformer.directory = %(here)s/example
transformer.transforms = *.gv.txt=Graphviz,*.txt=ReST