ClusterTable not showing the correct associated VM count #5890
-
Beta Was this translation helpful? Give feedback.
Answered by
jeremystretch
Feb 26, 2021
Replies: 1 comment 1 reply
-
The table is looking for a field named |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kuzmik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The table is looking for a field named
vm_count
in the data to populate the column. You can add this using.annotate(vm_count=Count('virtual_machines', distinct=True))
on the queryset.