-Jinja is written and maintained by Armin Ronacher <armin.ronacher@active-4.com>.
+Jinja is written and maintained by the Jinja Team and various
+contributors:
-Other contributors (as mentionend in :copyright:s) are:
+Lead Developer:
- Armin Ronacher <armin.ronacher@active-4.com>
+
+Developers:
+
+- Christoph Hack
- Georg Brandl
-- Lawrence Journal-World.
+
+Contributors:
+
- Bryan McLemore
- Mickaël Guérin <kael@crocobox.org>
- Cameron Knight
+- Lawrence Journal-World.
+- David Cramer
+
+Patches and suggestions:
+
+- Ronny Pfannschmidt
+- Axel Böhm
+- Alexey Melchakov
+- Bryan McLemore
+- Clovis Fabricio (nosklo)
+- Cameron Knight
+- Peter van Dijk (Habbie)
+- Stefan Ebner
-Copyright (c) 2006-2008 by the respective authors (see AUTHORS file).\r
-All rights reserved.\r
+Copyright (c) 2006-2008 by the Jinja Team and contributors (see\r
+AUTHORS file).\r
+\r
+Some rights reserved.\r
\r
Redistribution and use in source and binary forms, with or without\r
modification, are permitted provided that the following conditions are\r
+++ /dev/null
-Thanks To
-=========
-
-All the people listed here helped improving Jinja a lot, provided
-patches, helped working out solutions etc. Thanks to all of you!
-
-- Ronny Pfannschmidt
-- Axel Böhm
-- Alexey Melchakov
-- Stefan Ebner
-- Bryan McLemore
-- David Cramer
-- Clovis Fabricio (nosklo)
-- Cameron Knight
-- Peter van Dijk (Habbie)
Jinja2 repository this has no real-world usefulnes (despite the name).
Just go away and ignore it. NOW!
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import sys
For details about the writing process have a look at the module code.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import re
`JINJA2_CACHE_SIZE` The size of the Jinja2 template cache.
======================= =============================================
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from itertools import chain
An example extension for Jinja2 that supports inline gettext calls.
Requires the i18n extension to be loaded.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import re
;;; jinja.el --- Jinja mode highlighting
;;
;; Author: Georg Brandl
+;; Copyright: (c) 2009 by the Jinja Team
;; Last modified: 2008-05-22 23:04 by gbr
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
{% endblock %}
- :copyright: 2008 by Armin Ronacher, Christoph Hack.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
__docformat__ = 'restructuredtext en'
IronPython support library. This library exports functionality from
the CLR to Python that is normally available in the standard library.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from System import DateTime
* implementation of `tb_set_next` and Python implementations of the other
* functions are used.
*
- * :copyright: 2008 by Armin Ronacher, Mickaël Guérin.
+ * :copyright: (c) 2009 by the Jinja Team.
* :license: BSD.
*/
Situations where this is useful are often forking web applications that
are initialized on the first request.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from os import path, listdir
Compiles nodes into python code.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from cStringIO import StringIO
Various constants.
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
ugly stuff with the Python traceback system in order to achieve tracebacks
with correct line numbers, locals and contents.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import sys
Jinja default filters and tags.
- :copyright: 2007-2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner
Provides a class that holds runtime and parsing time options.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import sys
Jinja exceptions.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
tags work. By default two example extensions exist: an i18n and a cache
extension.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from collections import deque
Bundled jinja filters.
- :copyright: 2008 by Armin Ronacher, Christoph Hack.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
operators we don't allow in templates. On the other hand it separates
template code and python code in expressions.
- :copyright: 2007-2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
Jinja loader classes.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from os import path
`get_nodes` used by the parser and translator in order to normalize
python and jinja nodes.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import operator
The solution would be a second syntax tree that has the scoping rules stored.
- :copyright: Copyright 2008 by Christoph Hack, Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from jinja2 import nodes
Implements the template parser.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import nodes
Runtime helpers.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import sys
The behavior can be changed by subclassing the environment.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import operator
Jinja test functions. Used with the "is" operator.
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
Utility functions.
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
This module implements a visitor for the nodes.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from jinja2.nodes import Node
Configure py.test for support stuff.
- :copyright: 2007 by Armin Ronacher, Alexander Schremmer.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
Tests the traceback rewriter.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from jinja2 import Environment
unit test for some extensions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import re
unit test for the filters
~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import Markup, Environment
unit test for loop functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for the i18n functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for if conditions
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
unit test for the imports and includes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for the inheritance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import Environment, DictLoader
unit test for the lexer
~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
unit test for the loaders
~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
This module tests the LRU Cache
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
import thread
unit test for the macros
~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
Unittest that test situations caused by various older bugs.
- :copyright: Copyright 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD.
"""
from jinja2 import Environment, DictLoader
unit test for the parser
~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import Environment
unit test for security features
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for streaming interface
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
unit test for expression syntax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for the test functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from jinja2 import Environment, Markup
unit test for the undefined types
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2008 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
from py.test import raises
unit test for various things
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: 2007 by Armin Ronacher.
+ :copyright: (c) 2009 by the Jinja Team.
:license: BSD, see LICENSE for more details.
"""
import gc