Classes
Output
2
▼
Output expression: {{ expr }}
Output
2
▼
Output expression: {{ expr }}
Attributes
| Name | Type | Description |
|---|---|---|
expr |
Expr
|
— |
escape |
bool
|
— |
Data
1
▼
Raw text data between template constructs.
Data
1
▼
Raw text data between template constructs.
Attributes
| Name | Type | Description |
|---|---|---|
value |
str
|
— |
FilterBlock
2
▼
Apply filter to block: {% filter upper %}...{% end %}
FilterBlock
2
▼
Apply filter to block: {% filter upper %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
filter |
Filter
|
— |
body |
Sequence[Node]
|
— |
Autoescape
2
▼
Control autoescaping: {% autoescape true %}...{% end %}
Autoescape
2
▼
Control autoescaping: {% autoescape true %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
enabled |
bool
|
— |
body |
Sequence[Node]
|
— |
Raw
1
▼
Raw block (no template processing): {% raw %}...{% end %}
Raw
1
▼
Raw block (no template processing): {% raw %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
value |
str
|
— |
Trim
1
▼
Whitespace control block: {% trim %}...{% end %}
Trim
1
▼
Whitespace control block: {% trim %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
body |
Sequence[Node]
|
— |
Spaceless
1
▼
Remove whitespace between HTML tags: {% spaceless %}...{% end %}
Spaceless
1
▼
Remove whitespace between HTML tags: {% spaceless %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
body |
Sequence[Node]
|
— |