2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-27 19:16:44 +00:00

Docs tweak (#9422) (#9424)

(cherry picked from commit e30786b06869ca8a211e19a0bb9979afcddf1f9a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2025-03-31 19:06:54 +11:00 committed by GitHub
parent d881037bde
commit 3c71d62d27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,8 @@ Result: {{ myvar }}
{% endraw %}
```
Note the use of the `as` keyword to assign the output of the function to a variable. This can be used to assign the result of a function to a named variable, which can then be used later in the template.
## Data Structure Access
A number of helper functions are available for accessing data contained in a particular structure format: