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

Docs tweak (#9422)

This commit is contained in:
Oliver 2025-03-31 19:04:43 +11:00 committed by GitHub
parent 66d5180d8f
commit e30786b068
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: