Django-render-block

Latest version: v0.10

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

Scan your dependencies

Page 3 of 3

0.3

==================

* Largely rewritten.
* Support Django 1.8 and 1.9:

* Guards against different template backends.
* Uses internal APIs for each node.
* Removed ``context_instance`` parameter.
* Support for calling ``{{ block.super }}``.

0.2.2

========================

* Updated per
`comment 3466 on Django Snippet 942 <https://djangosnippets.org/snippets/942/#c3466>`_
by `eugenyboger <https://djangosnippets.org/users/eugenyboger/>`_
to fix an issue with nested extends. The specific bug was not reproducible,
but the additional code shouldn't hurt.

0.2.1

=======================

* Updated per
`comment 3237 on Django Snippet 942 <https://djangosnippets.org/snippets/942/#c3237>`_
by `chadselph <https://djangosnippets.org/users/chadselph/>`_
to remove a pointless render. The specific bug was not reproducible, but the
removed code was extraneous.

0.2

====================

* Updated version from
`Django Snippet 942 <https://djangosnippets.org/snippets/942/>`_ by
`zbyte64 <https://djangosnippets.org/users/zbyte64/>`_.
* Improves include:

1. Simpler/better handling of "extends" block tag
2. Searches If/Else blocks
3. Less code
4. Allow list of templates to be passed which is closer to the behavior of
``render_to_response``

0.1

==================

* Initial version from
`Django Snippet 769 <https://djangosnippets.org/snippets/769/>`_ by
`sciyoshi <https://djangosnippets.org/users/sciyoshi/>`_.
* Support Django 0.96.

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.