comparison roundup/configuration.py @ 3425:2b27c92d64dc

add web/use_browser_language option
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 03 Dec 2005 09:31:00 +0000
parents 07c696890f55
children 26dc6b92ac26
comparison
equal deleted inserted replaced
3424:1f8f81a0f8c4 3425:2b27c92d64dc
1 # Roundup Issue Tracker configuration support 1 # Roundup Issue Tracker configuration support
2 # 2 #
3 # $Id: configuration.py,v 1.27 2005-10-07 04:42:13 richard Exp $ 3 # $Id: configuration.py,v 1.28 2005-12-03 09:31:00 a1s Exp $
4 # 4 #
5 __docformat__ = "restructuredtext" 5 __docformat__ = "restructuredtext"
6 6
7 import getopt 7 import getopt
8 import imp 8 import imp
472 "Whether to use HTTP Basic Authentication, if present.\n" 472 "Whether to use HTTP Basic Authentication, if present.\n"
473 "Roundup will use either the REMOTE_USER or HTTP_AUTHORIZATION\n" 473 "Roundup will use either the REMOTE_USER or HTTP_AUTHORIZATION\n"
474 "variables supplied by your web server (in that order).\n" 474 "variables supplied by your web server (in that order).\n"
475 "Set this option to 'no' if you do not wish to use HTTP Basic\n" 475 "Set this option to 'no' if you do not wish to use HTTP Basic\n"
476 "Authentication in your web interface."), 476 "Authentication in your web interface."),
477 (BooleanOption, 'use_browser_language', "yes",
478 "Whether to use HTTP Accept-Language, if present.\n"
479 "Browsers send a language-region preference list.\n"
480 "It's usually set in the client's browser or in his\n"
481 "Operating System.\n"
482 "Set this option to 'no' if you want to ignore it."),
477 )), 483 )),
478 ("rdbms", ( 484 ("rdbms", (
479 (Option, 'name', 'roundup', 485 (Option, 'name', 'roundup',
480 "Name of the database to use.", 486 "Name of the database to use.",
481 ['MYSQL_DBNAME']), 487 ['MYSQL_DBNAME']),

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