Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
danjac committed Dec 30, 2020
1 parent 696afd8 commit a907e8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.0.9] - 2020-12-30

Add render() method to template proxies

## [0.0.8] - 2020-12-30

### Added
Expand Down
4 changes: 2 additions & 2 deletions doc/source/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ The classes and functions above are a bit verbose for common operations. A coupl
# first argument is the DOM ID
TurboFrame("msg").render("OK")
TurboStream("msg").replace.template("msg.html", {"msg": "hello"})
TurboStream("msg").replace.template("msg.html", {"msg": "hello"}).render()
TurboFrame("msg").template("msg.html", {"msg": "hello"})
TurboFrame("msg").template("msg.html", {"msg": "hello"}).render()
def my_stream(request):
return TurboStream("msg").replace.response("OK")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Third Party Libraries
from setuptools import setup

version = "0.0.8"
version = "0.0.9"

setup(
name="django-turbo-response",
Expand Down

0 comments on commit a907e8b

Please sign in to comment.