Package gavo :: Package web :: Module common
[frames] | no frames]

Module common

source code

Common code for the nevow based interface.

Classes
  HTMLMetaBuilder
  doctypedStan
is the stan loader with a doctype and a namespace added.
  CommonRenderers
A base for renderer (python) mixins within the DC.
  Request
a custom request class used in DaCHS' application server.
  TypedData
A simple resource just producing bytes passed in during construction, declared as a special content type.
Functions
 
escapeForHTML(aString) source code
 
getfirst(ctx, key, default)
returns the first value of key in the nevow context ctx.
source code
 
runAuthenticated(ctx, reqGroup, fun, *args)
returns the value of fun(*args) if the logged in user is in reqGroup, requests authentication otherwise.
source code
Variables
  JSEXT = '.js'
  __package__ = 'gavo.web'