Skip to content
Myr

Merge branch 'master' of github.com:pallets/jinja

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents c1cd154, d3ed6c7 · Browse files · 3 files+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+6 added−3 removed

  • other:+6 added−3 removed

3 files+6 added−3 removed

modified:docs/templates.rst+2 added-2 removed
1343 unmodified lines
1344 .. attribute:: current13451346 Returns the current item.13471348 **new in Jinja 2.1**1348 .. versionadded:: 2.113491350.. class:: joiner(sep=', ')13511352 A tiny helper that can be used to "join" multiple sections. A joiner is
11 unmodified lines
1364 {% if can_edit %} {{ pipe() }}1365 <a href="?action=edit">Edit</a>1366 {% endif %}13671368 **new in Jinja 2.1**1368 .. versionadded:: 2.1136913701371Extensions1372----------
194 unmodified lines
modified:jinja2/filters.py+3 added
863 unmodified lines
864 .. sourcecode:: jinja865866 {{ numbers|select("odd") }}867 {{ numbers|select("odd") }}868 {{ numbers|select("divisibleby", 3) }}869 {{ numbers|select("lessthan", 42) }}870 {{ strings|select("equalto", "mystring") }}871872 .. versionadded:: 2.7873 """874 return select_or_reject(args, kwargs, lambda x: x, False)
202 unmodified lines
modified:setup.cfg+1 added-1 removed
1[wheel]1[bdist_wheel]2universal = 134[metadata]5license_file = LICENSE
3 unmodified lines