Skip to content

Commit

Permalink
Bump to 0.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamghill committed Nov 12, 2024
1 parent e683fae commit 89a4c57
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Changelog

## 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>` if possible.
- Use the start tag's `name` for `dj-block` end tag if possible.

## 0.10.0

Expand Down
7 changes: 6 additions & 1 deletion docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Changelog

## 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>` if possible.
- Use the start tag's `name` for `dj-block` end tag if possible.

## 0.10.0

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "dj-angles"
authors = [
{name = "Adam Hill", email = "[email protected]"}
]
version = "0.11.0"
version = "0.12.0"
description = "Add more bracket angles to Django templates </>"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down
2 changes: 0 additions & 2 deletions src/dj_angles/mappers/angles.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from typing import TYPE_CHECKING

from django.template import engines
from django.template.exceptions import TemplateDoesNotExist
from minestrone import HTML

from dj_angles.mappers.include import get_include_template_file, map_include
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 89a4c57

Please sign in to comment.