Django-ttag

Latest version: v3.0

Safety actively analyzes 688705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.4

===========

* More documentation fixes.

* ``AsTag`` has a new ``as_default`` Meta option to provide a default variable
name if the ``as`` argument is not provided.

2.3

===========

* Minor documentation fixes.

* Fixed block tags so they actually work. Thanks again, Jannis.

* Fixed an issue when subclassing tags based on the ``AsTag`` helper.

2.2

===========

* Added the ``TemplateTag`` helper. Thanks Jannis Leidel!

2.1

===========

* Added backwards compatibility for ``Arg.clean``, so it can once again just
have ``data`` as the only parameter.

* Tidy up the handling of missing context variables (with bugfix in v2.1.1).

2.0

===========

Backwards Incompatible changes
------------------------------

* Changed ``Arg.clean`` to require both ``data`` and ``context`` as parameters.

* Changed the function of the ``null`` parameter of ``Arg.__init__``. Now,
when set to ``False`` (default), an exception is raised on a missing context
variable. When ``True``, a missing context variable is set to ``None``.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.