-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes global_objects and adds template environment
The global_objects was a bad solution and prone to breaking. The better way is to just import what you need from your own app. We also add in a reference to the template environment on the app instance, which lets it be modified if needed. (e.g. adding functions or variables to the globals.)
- Loading branch information
Felix Ingram
committed
May 11, 2022
1 parent
6876f31
commit 9d4c85e
Showing
2 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
A web framework for using htmx with Starlette | ||
""" | ||
|
||
__version__ = "0.1.4" | ||
__version__ = "0.1.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters