mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
Merge pull request #423 from m4tx/fix-function-docs
chore: fix tiny wording error in "Calling functions" docs
This commit is contained in:
commit
90d1a71801
@ -308,7 +308,7 @@ struct MyTemplate {
|
|||||||
## Calling functions
|
## Calling functions
|
||||||
|
|
||||||
If you only provide a function name, askama will assume it's a method. If
|
If you only provide a function name, askama will assume it's a method. If
|
||||||
you want to call a method, you will need to use a path instead:
|
you want to call a function, you will need to use a path instead:
|
||||||
|
|
||||||
```jinja
|
```jinja
|
||||||
{# This is the equivalent of `self.method()`. #}
|
{# This is the equivalent of `self.method()`. #}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user