* Fixes: #18568 Update mkdocstrings and adapt config * Fixed some output formatting errors When trying to compare the output from "mkdocstrings[python-legacy]==0.27.0" and "mkdocstrings[python]==0.28.2" I encountered some HTML errors: - <div> inside a <p> - unescaped non-tags <pk>
This commit is contained in:
@@ -25,6 +25,7 @@ Height: {{ rack.u_height }}U
|
||||
To access custom fields of an object within a template, use the `cf` attribute. For example, `{{ obj.cf.color }}` will return the value (if any) for a custom field named `color` on `obj`.
|
||||
|
||||
If you need to use the config context data in an export template, you'll should use the function `get_config_context` to get all the config context data. For example:
|
||||
|
||||
```
|
||||
{% for server in queryset %}
|
||||
{% set data = server.get_config_context() %}
|
||||
|
Reference in New Issue
Block a user