Changes between Version 19 and Version 21 of Ticket #11519
- Timestamp:
- Apr 16, 2014, 1:01:40 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11519 – Release Notes
v19 v21 1 The `[trac]` `default_handler` option can be set from the //Basic Settings// admin page. 1 The `[trac]` `default_handler` option can be set from the //Basic Settings// admin page. A `ConfigurationError` is raised when navigating to the base url if `[trac]` `default_handler` is set to a class for which `is_valid_default_handler` is `False`. -
Ticket #11519 – API Changes
v19 v21 1 The `IRequestHandler` class attribute `is_valid_default_handler` determines if the class can be used as a default handler, and defaults to `True` when not present. A `ConfigurationError` is raised when navigating to the base url if `[trac]` `default_handler` is set to a class for which `is_valid_default_handler` is `False`.1 The `IRequestHandler` class attribute `is_valid_default_handler` determines if the class can be used as a default handler, and defaults to `True` when not present. The function `is_valid_default_hanlder` should be used to determine whether an `IRequestHandler` object is a valid default handler.