|
Last change
on this file was
706,
checked in by cmlenz, 16 years ago
|
|
Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
|
-
Property svn:eol-style set to
native
|
|
File size:
978 bytes
|
| Line | |
|---|
| 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006-2007 Edgewall Software |
|---|
| 4 | # All rights reserved. |
|---|
| 5 | # |
|---|
| 6 | # This software is licensed as described in the file COPYING, which |
|---|
| 7 | # you should have received as part of this distribution. The terms |
|---|
| 8 | # are also available at http://genshi.edgewall.org/wiki/License. |
|---|
| 9 | # |
|---|
| 10 | # This software consists of voluntary contributions made by many |
|---|
| 11 | # individuals. For the exact contribution history, see the revision |
|---|
| 12 | # history and logs, available at http://genshi.edgewall.org/log/. |
|---|
| 13 | |
|---|
| 14 | """Implementation of the template engine.""" |
|---|
| 15 | |
|---|
| 16 | from genshi.template.base import Context, Template, TemplateError, \ |
|---|
| 17 | TemplateRuntimeError, TemplateSyntaxError, \ |
|---|
| 18 | BadDirectiveError |
|---|
| 19 | from genshi.template.loader import TemplateLoader, TemplateNotFound |
|---|
| 20 | from genshi.template.markup import MarkupTemplate |
|---|
| 21 | from genshi.template.text import TextTemplate, OldTextTemplate, NewTextTemplate |
|---|
| 22 | |
|---|
| 23 | __docformat__ = 'restructuredtext en' |
|---|
Note: See
TracBrowser
for help on using the repository browser.