Skip to content

Commit b61d5ee

Browse files
committed
Bump to 0.19.0.
1 parent a966b54 commit b61d5ee

File tree

7 files changed

+19
-4
lines changed

7 files changed

+19
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 0.19.0
44

5+
- Fix `delay` in `ajax-form`.
6+
- Add `template` template tag.
7+
- Return a stringified result from `call` template tag.
8+
59
### Breaking changes
610

711
- Remove automatically casting strings to `UUID`, `datetime`, `date`, or `time`. That can be done manually in the function if needed and it's a little too magical.

docs/source/changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.19.0
4+
5+
- Fix `delay` in `ajax-form`.
6+
- Add `template` template tag.
7+
- Return a stringified result from `call` template tag.
8+
9+
### Breaking changes
10+
11+
- Remove automatically casting strings to `UUID`, `datetime`, `date`, or `time`. That can be done manually in the function if needed and it's a little too magical.
12+
313
## 0.18.0
414

515
- Add `ajax-form` custom element.

docs/source/custom-elements/ajax-form.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Defines the delay in milliseconds before the form is submitted. Defaults to 0.
8484

8585
[`HTMX`](https://htmx.org/) is a helpful, general solution for this use case as well.
8686

87-
### Example
87+
### HTMX Example
8888

8989
```html
9090
<form id="actions">

docs/source/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ filters/dateformat
109109
110110
template-tags/call
111111
template-tags/model
112+
template-tags/template
112113
```
113114

114115
```{toctree}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "dj-angles"
33
authors = [
44
{name = "Adam Hill", email = "[email protected]"}
55
]
6-
version = "0.18.0"
6+
version = "0.19.0"
77
description = "Add more bracket angles to Django templates </>"
88
readme = "README.md"
99
license = {file = "LICENSE"}

src/dj_angles/templatetags/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, nodelist: NodeList, parsed_function: ParsedFunction, *, inclu
1515
self.include_context = include_context
1616

1717
def render(self, context: dict) -> str:
18-
return self.nodelist.render(context)
18+
return str(self.nodelist.render(context))
1919

2020

2121
class TemplateNode(Node):

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)