Replies: 1 comment 1 reply
-
Did you try out Jinja Built-in template tags {% for rack in queryset|sort(attribute="cf.logical_rack_name") %}
- name: {{ rack.cf.logical_rack_name }}
serial: {{ rack.serial }}
{% endfor %} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to sort a queryset by a custom field, but cannot figure out the syntax - anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions