I am doing this:
p = MyModel.objects.filter(user__username="me").annotate(friend_count=Count(friends))
when I look at:
p[0]._meta.get_all_field_names()
It returns everything defined on the model but not the annotated field 'friend_count'
Is there a function I can use to see all the annotated fields of a particular model instance?