diff --git a/VERSION b/VERSION index a56f167b..d9e6bd40 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.2-stable+timestamp.2013.03.11.08.24.51 +Version 2.4.2-stable+timestamp.2013.03.11.08.49.11 diff --git a/applications/examples/controllers/global.py b/applications/examples/controllers/global.py index eaf16d21..7e56902c 100644 --- a/applications/examples/controllers/global.py +++ b/applications/examples/controllers/global.py @@ -1,9 +1,5 @@ session.forget() -response.menu = [['home', False, '/%s/default/index' - % request.application], ['docs', True, - '/%s/global/vars' % request.application]] - def get(args): if args[0].startswith('__'): return None diff --git a/applications/examples/controllers/simple_examples.py b/applications/examples/controllers/simple_examples.py index 046652e3..425470ff 100644 --- a/applications/examples/controllers/simple_examples.py +++ b/applications/examples/controllers/simple_examples.py @@ -54,13 +54,6 @@ def raisehttp(): raise HTTP(400, 'internal error') -def raiseexception(): - """ generates an exeption, logs the event and returns a ticket number """ - - 1 / 0 - return 'oops' - - def servejs(): """ serves a js document """ @@ -69,7 +62,6 @@ def servejs(): gluon.contenttype.contenttype('.js') return 'alert("This is a Javascript document, it is not supposed to run!");' - def makejson(): import gluon.contrib.simplejson as sj return sj.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) diff --git a/applications/examples/controllers/spreadsheet.py b/applications/examples/controllers/spreadsheet.py index f46df702..90868c99 100644 --- a/applications/examples/controllers/spreadsheet.py +++ b/applications/examples/controllers/spreadsheet.py @@ -1,6 +1,5 @@ from gluon.contrib.spreadsheet import Sheet - def callback(): return cache.ram('sheet1', lambda: None, None).process(request) diff --git a/applications/examples/views/default/download.html b/applications/examples/views/default/download.html index a6cef5e5..0b96db05 100644 --- a/applications/examples/views/default/download.html +++ b/applications/examples/views/default/download.html @@ -25,12 +25,12 @@
If an exception occurs (other than HTTP) a ticket is generated and the event is logged for the administrator. These tickets and logs can be accessed, reviewed and deleted at any later time.
-
Try it here: raiseexception
Free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python. LGPLv3 License.
+Free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python.
| @@ -37,7 +37,7 @@ random.shuffle(quotes) |
Current version: {{=request.env.web2py_version}}
+Current version: {{=request.env.web2py_version}} (LGPLv3 License)
}})