Django-tag-parser

Latest version: v3.1

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

Scan your dependencies

Page 1 of 2

3.1

------------------------

* Fix ``BaseInclusionNode.get_template_name()`` to support lists in Django 1.7 and below.

3.0

------------------------

* Support ``register.tag`` directly on the class

2.1

------------------------

* Added Django 1.8 support

2.0.1

--------------------------

* Fix ``BaseAssignmentOrInclusionNode.get_context_data``.
* Fix passing ``template`` to ``BaseAssignmentOrInclusionNode.get_value(.. **tag_kwargs)`` when it's not in ``allowed_kwargs``.

2.0

------------------------

* Added Python 3 support.
* Added ``end_tag_name`` support.

1.1

------------------------

* Add ``BaseAssignmentOrOutputNode`` to support tags similar to ``{% trans .. as .. %}`` and ``{% url .. as .. %}``.
* **Backwards incompatible:**: The arguments of ``BaseAssignmentOrInclusionNode.get_value()`` also receive the ``context`` now.
So ``get_value(self, *tag_args, **tag_kwargs)`` becomes: ``get_value(self, context, *tag_args, **tag_kwargs)``.
If you use the positional arguments, update your method signature.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.