You haven't explained exactly what you want from B - all the values,
or just the ones that have values in A, or just the ones for a single
value of A?
If you just want all the associated B for each value of A, then a
simple queryset will do the trick.
qs = A.objects.all()
for a in qs:
print a.b_set.all()
You can make this a bit more efficient by calling the initial queryset
with select_related.
qs = A.objects.all().select_related()
I would suggest reading the section on related objects again:
http://docs.djangoproject.com/en/dev/topics/db/queries/#related-objects
--
DR.