mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 06:21:13 +00:00
Update variable initialization rule docs
This commit is contained in:
parent
ddfdd20855
commit
4a17df55b5
@ -74,6 +74,7 @@ to prevent changing ownership. The rules are as follows:
|
||||
* If the value is a variable defined in the templates, it WILL NOT BE put behind a reference.
|
||||
* If the value has a filter applied to it (`x|capitalize`), it WILL NOT BE put behind a reference.
|
||||
* If the value is a field (`x.y`), it WILL BE put behind a reference.
|
||||
* If the expression ends with a question mark (like `x?`), it WILL NOT BE put behind a reference.
|
||||
|
||||
## Filters
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user