comparison demo.py @ 3549:f6719836e521

allow dispname to be passed to renderWith [SF#1424587] rename dispname to @dispname to avoid name clashes in the future force demo.py to have web debugging on (since it can't mail errors)
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Feb 2006 04:03:54 +0000
parents 4d7f942f97b5
children d4112ddfc0bb
comparison
equal deleted inserted replaced
3548:61d48244e7a8 3549:f6719836e521
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 # 2 #
3 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net) 3 # Copyright (c) 2003 Richard Jones (richard@mechanicalcat.net)
4 # 4 #
5 # $Id: demo.py,v 1.23 2004-11-06 15:05:47 a1s Exp $ 5 # $Id: demo.py,v 1.24 2006-02-08 04:03:54 richard Exp $
6 6
7 import errno 7 import errno
8 import os 8 import os
9 import socket 9 import socket
10 import sys 10 import sys
31 # set up the config for this tracker 31 # set up the config for this tracker
32 config = configuration.CoreConfig() 32 config = configuration.CoreConfig()
33 config['TRACKER_HOME'] = home 33 config['TRACKER_HOME'] = home
34 config['MAIL_DOMAIN'] = 'localhost' 34 config['MAIL_DOMAIN'] = 'localhost'
35 config['DATABASE'] = 'db' 35 config['DATABASE'] = 'db'
36 config['WEB_DEBUG'] = True
36 if backend in ('mysql', 'postgresql'): 37 if backend in ('mysql', 'postgresql'):
37 config['RDBMS_HOST'] = 'localhost' 38 config['RDBMS_HOST'] = 'localhost'
38 config['RDBMS_USER'] = 'rounduptest' 39 config['RDBMS_USER'] = 'rounduptest'
39 config['RDBMS_PASSWORD'] = 'rounduptest' 40 config['RDBMS_PASSWORD'] = 'rounduptest'
40 config['RDBMS_NAME'] = 'rounduptest' 41 config['RDBMS_NAME'] = 'rounduptest'

Roundup Issue Tracker: http://roundup-tracker.org/