comparison doc/customizing.txt @ 6470:60532cafc62a

sys.path when interfaces.py is invoked per: https://sourceforge.net/p/roundup/mailman/message/26389589/ Document that tracker lib and other tracker specific module dirs are not on the sys.path when interfaces.py is invoked.
author John Rouillard <rouilj@ieee.org>
date Sat, 21 Aug 2021 20:24:09 -0400
parents 258385cad27e
children 30358e334232 7cfb7d4fce60
comparison
equal deleted inserted replaced
6469:98082155ffea 6470:60532cafc62a
1409 1409
1410 but with great power comes great responsibility. 1410 but with great power comes great responsibility.
1411 1411
1412 Interfaces.py has been around since the earliest releases of roundup 1412 Interfaces.py has been around since the earliest releases of roundup
1413 and used to be the main way to get a lot of customization done. In 1413 and used to be the main way to get a lot of customization done. In
1414 modern roundup, the extensions_ mechanism is used, but there are places 1414 modern roundup, the extensions_ mechanism is used, but there are
1415 where interfaces.py is still useful. 1415 places where interfaces.py is still useful. Note that the tracker
1416 directories are not on the Python system path when interfaces.py is
1417 evaluated. You need to add library directories explicty by
1418 modifying sys.path.
1416 1419
1417 Example: Changing Cache-Control headers 1420 Example: Changing Cache-Control headers
1418 --------------------------------------- 1421 ---------------------------------------
1419 1422
1420 The Client class in cgi/client.py has a lookup table that is used to 1423 The Client class in cgi/client.py has a lookup table that is used to

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