|
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
|
| Rev | Line | |
|---|
| [2] | 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | # |
|---|
| [500] | 3 | # Copyright (C) 2006-2007 Edgewall Software |
|---|
| [2] | 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 |
|---|
| [287] | 8 | # are also available at http://genshi.edgewall.org/wiki/License. |
|---|
| [2] | 9 | # |
|---|
| 10 | # This software consists of voluntary contributions made by many |
|---|
| 11 | # individuals. For the exact contribution history, see the revision |
|---|
| [287] | 12 | # history and logs, available at http://genshi.edgewall.org/log/. |
|---|
| [2] | 13 | |
|---|
| [87] | 14 | """Implementation of the template engine.""" |
|---|
| [2] | 15 | |
|---|
| [492] | 16 | from genshi.template.base import Context, Template, TemplateError, \ |
|---|
| [414] | 17 | TemplateRuntimeError, TemplateSyntaxError, \ |
|---|
| 18 | BadDirectiveError |
|---|
| 19 | from genshi.template.loader import TemplateLoader, TemplateNotFound |
|---|
| 20 | from genshi.template.markup import MarkupTemplate |
|---|
| [706] | 21 | from genshi.template.text import TextTemplate, OldTextTemplate, NewTextTemplate |
|---|
| [517] | 22 | |
|---|
| 23 | __docformat__ = 'restructuredtext en' |
|---|
Note: See
TracBrowser
for help on using the repository browser.