Mercurial > p > roundup > code
view README.txt @ 4587:a2eb4fb3e6d8
New Chameleon templating engine, engine is now configurable.
We now have two configurable templating engines, the old Zope TAL
templates (called zopetal in the config) and the new Chameleon (called
chameleon in the config). A new config-option "template_engine" under
[main] can take these config-options, the default is zopetal.
Thanks to Cheer Xiao for the idea of making this configurable *and*
for the actual implementation!
Cheer Xiao commit log:
- The original TAL engine ported from Zope is thereafter referred to as
"zopetal", in speech and in code
- A new option "template_engine" under [main] introduced
- Zopetal-specific code stripped from cgi/templating.py to form the new
cgi/engine_zopetal.py
- Interface to Chameleon in cgi/engine_chameleon.py
- Engines are supposed to provide a Templates class that mimics the
behavior of the old cgi.templating.Templates. The Templates class is
preferably subclassed from cgi.templating.TemplatesBase.
- New function cgi.templating.get_templates to get the appropriate engine's
Templates instance according to the engine name
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 23 Feb 2012 18:10:03 +0100 |
| parents | ef3e3c5e3501 |
| children | 3dc458554d68 |
line wrap: on
line source
======================================================= Roundup: an Issue-Tracking System for Knowledge Workers ======================================================= Copyright (c) 2003-2009 Richard Jones (richard@mechanicalcat.net) Copyright (c) 2002 eKit.com Inc (http://www.ekit.com/) Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) INSTANT GRATIFICATION ===================== The impatient may try Roundup immediately by typing at the console:: python demo.py To start anew (a fresh demo instance):: python demo.py nuke Run demo.py from the *source* directory; don't try to run demo.py from the *installed* directory, it will *break*. Installation ============ For installation instructions, please see installation.txt in the "doc" directory. Upgrading ========= For upgrading instructions, please see upgrading.txt in the "doc" directory. Usage and Other Information =========================== See the index.txt file in the "doc" directory. The *.txt files in the "doc" directory are written in reStructedText. If you have rst2html installed (part of the docutils suite) you can convert these to HTML by running "make html" in the "doc" directory. For Developers ============== To get started on development work, read the developers.txt file in the "doc" directory. License ======= See COPYING.txt
