Package omeroweb :: Module decorators
[hide private]
[frames] | no frames]

Module decorators

source code

Decorators for use with OMERO.web applications.

Classes [hide private]
  ConnCleaningHttpResponse
Extension of HttpResponse which closes the OMERO connection.
  login_required
OMERO.web specific extension of the Django login_required() decorator, https://docs.djangoproject.com/en/dev/topics/auth/, which is responsible for ensuring a valid omero.gateway.BlitzGateway connection.
  render_response
This decorator handles the rendering of view methods to HttpResponse.
Variables [hide private]
  logger = logging.getLogger(__name__)

Imports: logging, Http404, HttpResponse, HttpResponseRedirect, HttpResponseForbidden, settings, urlencode, update_wrapper, simplejson, reverse, template_loader, RequestContext, cache, Connector