Edgewall Software

Changes between Version 1 and Version 2 of Ticket #11519, comment 7


Ignore:
Timestamp:
Mar 13, 2014, 4:28:20 AM (10 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11519, comment 7

    v1 v2  
    88I will also make sure to improve the documentation per your feedback. My understanding of the requirements for a `default_handler` are:
    99 * Returns a template representing an HTML document and the `data` dictionary needed to render the template (i.e. must satisfy the minimum requirements for an HTML document: `html`, `head` and `body` tags).
    10  * Does not require `match_request` to be called before `process_request` (a consequence of which can be seen in the defect reported in #11531 for `PreferencesModule`: [browser:/branches/1.0-stable/trac/web/main.py@12460:180-182#L171]).
     10 * Does not require `match_request` to be called before `process_request` (as an example, `PreferencesModule` failed to meet this requirement prior to the fix in #11531: [browser:/branches/1.0-stable/trac/web/main.py@12460:180-182#L171]).