Package omeroweb :: Package webredirect :: Module views
[hide private]
[frames] | no frames]

Module views

source code

A view functions is simply a Python function that takes a Web request and returns a Web response. This response can be the HTML contents of a Web page, or a redirect, or the 404 and 500 error, or an XML document, or an image... or anything.

Functions [hide private]
 
index(request, **kwargs) source code
Variables [hide private]
  logger = logging.getLogger('webredirect')

Imports: HttpResponseRedirect, HttpResponseServerError, reverse, handlerInternalError, settings, logging, traceback