Package web2py :: Package gluon :: Module globals
[hide private]
[frames] | no frames]

Module globals

source code


This file is part of the web2py Web Framework
Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)

Contains the classes for the global used variables:

- Request
- Response
- Session



Classes [hide private]
  Request
defines the request object and the default values of its members...
  Response
defines the response object and the default values of its members response.write( ) can be used to write in the output html
  Session
defines the session object and the default values of its members (None)
Variables [hide private]
  have_minify = True
  regex_session_id = re.compile(r'^([\w-]+/)?[\w-\.]+$')
  current = threading.local()
  css_template = '<link href="%s" rel="stylesheet" type="text/cs...
  js_template = '<script src="%s" type="text/javascript"></script>'
  css_inline = '<style type="text/css">\n%s\n</style>'
  js_inline = '<script type="text/javascript">\n%s\n</script>'
Variables Details [hide private]

css_template

Value:
'<link href="%s" rel="stylesheet" type="text/css" />'