Dj-angles

Latest version: v0.12.0

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

Scan your dependencies

Page 1 of 3

0.12.0

- Self-closing `dj-block` tag; `<dj-block name='content' />` would translate to `{% block content %}{% endblock content %}`.
- Handle template includes that begin with an underscore; `<dj-partial />` would translate to, in order, either `partial.html` or `_partial.html` depending on which template file was found.

0.11.0

- Use the start tag's `name` for `dj-block` end tag if possible.

0.10.0

- Add `default_mapper` based on [7](https://github.com/adamghill/dj-angles/pull/7) from [nanuxbe](https://github.com/nanuxbe).

0.9.0

- Add (beta) named slots implementation. Enable with `ANGLES={"enable_slots": True}` in settings.
- Fix: End wrapping tag was sometimes incorrect for some includes.

0.8.1

- Create tag mappers once and cache it.

0.8.0

- Add integration with [`django-bird`](https://django-bird.readthedocs.io/).

**Breaking changes**

- Dropped support for Python 3.8.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.