"""
configuration file
"""
def configuration():
"""
ganttatweb's configuration
notes:
proxies dictionary: see "urllib" documentation
"""
base = "//var/www/gantt/"
diz = {
"prologo":"""
<div style='text-align:center'>
<i><b>prologo</b><br>
[you must edit config.py]<br></i>
</div>
""",
"path_html_template":base+"html/gantt_base.html",
"url_progetti":"../html/projects/",
"dir_progetti":base+"html/projects/",
"dir_programma":base,
"file_help":base+"html/doc/user_guide.docbook",
"url_help":"../html/doc/user_guide.docbook.xml",
"proxies":{}, #{'http': 'http://www.someproxy.com:3128'},
"remote_cache":[
["http://127.0.0.1/gantt/html/gantt_logo.svgz","rem1.svgz"],
]
}
#diz.update(ctags_read(__doc__))
return diz
|