Django-render-block

Latest version: v0.10

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

Scan your dependencies

Page 2 of 3

0.8

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

Bugfixes
--------

* ``render_block_to_string`` now forwards the ``Context`` passed as ``context`` parameter.
Contributed by `bblanchon <https://github.com/bblanchon>`_. (`#21 <https://github.com/clokep/django-render-block/pull/21>`_)

Maintenance
-----------

* Drop support for Python 3.5, support Python 3.9. (`22 <https://github.com/clokep/django-render-block/pull/22>`_)

0.7

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

Maintenance
-----------

* Drop support for Django < 2.2. (`18 <https://github.com/clokep/django-render-block/pull/18>`_)
* Support Django 3.0 and 3.1. (`18 <https://github.com/clokep/django-render-block/pull/18>`_,
`20 <https://github.com/clokep/django-render-block/pull/20>`_)
* Drop support for Python 2.7. (`19 <https://github.com/clokep/django-render-block/pull/19>`_)
* Support Python 3.8. (`18 <https://github.com/clokep/django-render-block/pull/18>`_)

0.6

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

Improvements
------------

* ``render_block_to_string`` now optionally accepts a ``request`` parameter.
If given, a ``RequestContext`` instead of a ``Context`` is used when
rendering with the Django templating engine. Contributed by
`vintage <https://github.com/vintage>`_. (`#15 <https://github.com/clokep/django-render-block/pull/15>`_)

Maintenance
-----------

* Support Django 1.11, 2.1, and 2.2. (`9 <https://github.com/clokep/django-render-block/pull/9>`_,
`11 <https://github.com/clokep/django-render-block/pull/11>`_,
`17 <https://github.com/clokep/django-render-block/pull/17>`_)
* Support Python 2.7, 3.5, 3.6, and 3.7. (`9 <https://github.com/clokep/django-render-block/pull/9>`_,
`17 <https://github.com/clokep/django-render-block/pull/17>`_)
* Fix rendering of README on PyPI. Contributed by `mixxorz <https://github.com/mixxorz>`_.
(`10 <https://github.com/clokep/django-render-block/pull/10>`_)

0.5

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

Bugfixes
--------

* Fixes a major issue with inheriting templates and rendering a block found in
the parent template, but overwriting part of it in the child template.
(`8 <https://github.com/clokep/django-render-block/pull/8>`_)

0.4

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

Improvements
------------

* Initial support for using the `Jinja2 <http://jinja.pocoo.org/>`_ templating
engine. See README for caveats. (`3 <https://github.com/clokep/django-render-block/pull/3>`_)

Maintenance
-----------

* Support Django 1.10. (`5 <https://github.com/clokep/django-render-block/pull/5>`_)
* Support Python 3. (`6 <https://github.com/clokep/django-render-block/pull/6>`_)

0.3.1

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

Maintenance
------------

* Refactoring to make more generic (for potentially supporting multiple
templating engines).

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.