close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 5 and Version 6 of RequestHandlers


Ignore:
Timestamp:
Jun 26, 2008, 11:15:13 AM (16 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RequestHandlers

    v5 v6  
    3333Note that in this particular case, the values for `year` and `month` are automatically converted to numbers, due to the use of the `\d+` pattern in the route path.
    3434
     35== Default Template Data ==
     36
     37Diva makes a number of objects available for use in Genshi by default:
     38
     39 `app`:: The [ApplicationObject Application] object
     40 `abs_url()`:: Function for converting relative paths to absolute URLs
     41 `attrgetter`:: Function from the Python `operator` module
     42 `date`:: Python `date` class from the `datetime` module
     43 `datetime`:: Python `datetime` class from the `datetime` module
     44 `_()` / `gettext()`:: Function for translating a message
     45 `HTML()`:: Function to parse a string as HTML and return a markup stream
     46 `groupby`:: Function from the Python `itertools` module
     47 `itemgetter`:: Function from the Python `operator` module
     48 `ngettext()`:: Function for translating a message including plural forms
     49 `path_to()`:: Function for generating URLs based on the [UrlRouting routing configuration]
     50 `time`:: Python `time` class from the `datetime` module
     51 `timedelta`:: Python `timedelta` class from the `datetime` module
     52 `XML()`:: Function to parse a string as XML and return a markup stream
     53
    3554== Builtin Request Handlers ==
    3655