Mercurial > p > roundup > code
comparison roundup/configuration.py @ 2863:ae2907da636d
added STATIC_FILES option
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Wed, 03 Nov 2004 09:44:47 +0000 |
| parents | 6d219e7a8789 |
| children | a8808157f892 |
comparison
equal
deleted
inserted
replaced
| 2862:22c459281026 | 2863:ae2907da636d |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.20 2004-11-02 09:46:36 a1s Exp $ | 3 # $Id: configuration.py,v 1.21 2004-11-03 09:44:47 a1s Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import getopt | 7 import getopt |
| 8 import imp | 8 import imp |
| 392 # compatibility - new options should *not* have aliases! | 392 # compatibility - new options should *not* have aliases! |
| 393 SETTINGS = ( | 393 SETTINGS = ( |
| 394 ("main", ( | 394 ("main", ( |
| 395 (FilePathOption, "database", "db", "Database directory path."), | 395 (FilePathOption, "database", "db", "Database directory path."), |
| 396 (FilePathOption, "templates", "html", | 396 (FilePathOption, "templates", "html", |
| 397 "Path to the HTML templates directory.", | 397 "Path to the HTML templates directory."), |
| 398 ["STATIC_FILES"]), | 398 (NullableFilePathOption, "static_files", "", |
| 399 "Path to directory holding additional static files\n" | |
| 400 "available via Web UI. This directory may contain\n" | |
| 401 "sitewide images, CSS stylesheets etc. and is searched\n" | |
| 402 "for these files prior to the TEMPLATES directory\n" | |
| 403 "specified above. If this option is not set, all static\n" | |
| 404 "files are taken from the TEMPLATES directory"), | |
| 399 (MailAddressOption, "admin_email", "roundup-admin", | 405 (MailAddressOption, "admin_email", "roundup-admin", |
| 400 "Email address that roundup will complain to" | 406 "Email address that roundup will complain to" |
| 401 " if it runs into trouble."), | 407 " if it runs into trouble."), |
| 402 (MailAddressOption, "dispatcher_email", "roundup-admin", | 408 (MailAddressOption, "dispatcher_email", "roundup-admin", |
| 403 "The 'dispatcher' is a role that can get notified\n" | 409 "The 'dispatcher' is a role that can get notified\n" |
