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 14 and Version 15 of RequestHandlers


Ignore:
Timestamp:
Aug 22, 2008, 10:45:46 PM (16 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RequestHandlers

    v14 v15  
    8989Diva comes with a couple of generic request handlers that can be used as-is with some parameterization in UrlRouting.
    9090
    91  `diva.auth:login`:: Handle a form-based authentication request.
    92  `diva.auth:logout`:: Clears a previously set authentication cookie.
    93  `diva.routing:delegate`:: Delegate request processing to a different WSGI application.
     91 `diva.auth:login`:: Handle a form-based authentication request
     92 `diva.auth:logout`:: Clears a previously set authentication cookie
     93 `diva.routing:delegate`:: Delegate request processing to a different WSGI application
    9494 `diva.routing:redirect`:: Send an HTTP redirect to a different URL
    9595 `diva.static:directory`:: Serve static files from a specific directory
    9696 `diva.static:file`:: Serve a specific static file
    97  `diva.templating:view`:: Render a given template
     97 `diva.templating:view`:: Render a given template with the default context data
    9898
    9999== API Documentation ==