Mercurial > p > roundup > code
annotate roundup/cgi/PageTemplates/__init__.py @ 2119:cc4667ef3f12
Added the ability to toggle where error messages go.
They either go to the user (default, for backwards compatibility), the
dispatcher, or both. These are able to be toggled via settings in config.py.
Please refer to upgrading.txt for more details. (And Richard, let me know
if I've done anything wrong with this checkin. :))
| author | Eddie Parker <eparker@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Mar 2004 19:27:15 +0000 |
| parents | fc52d57c6c3e |
| children | b43efe461b3e |
| rev | line source |
|---|---|
| 1049 | 1 ############################################################################## |
| 2 # | |
| 3 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved. | |
| 4 # | |
| 5 # This software is subject to the provisions of the Zope Public License, | |
| 6 # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. | |
| 7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED | |
| 8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
| 9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS | |
| 10 # FOR A PARTICULAR PURPOSE | |
| 11 # | |
| 12 ############################################################################## | |
| 13 __doc__='''Package wrapper for Page Templates | |
| 14 | |
| 15 This wrapper allows the Page Template modules to be segregated in a | |
| 16 separate package. | |
| 17 | |
|
2005
fc52d57c6c3e
documentation cleanup
Richard Jones <richard@users.sourceforge.net>
parents:
1049
diff
changeset
|
18 $Id: __init__.py,v 1.2 2004-02-11 23:55:09 richard Exp $''' |
|
fc52d57c6c3e
documentation cleanup
Richard Jones <richard@users.sourceforge.net>
parents:
1049
diff
changeset
|
19 __docformat__ = 'restructuredtext' |
| 1049 | 20 __version__='$$'[11:-2] |
| 21 | |
| 22 | |
| 23 # Placeholder for Zope Product data | |
| 24 misc_ = {} | |
| 25 | |
| 26 def initialize(context): | |
| 27 # Import lazily, and defer initialization to the module | |
| 28 import ZopePageTemplate | |
| 29 ZopePageTemplate.initialize(context) |
