AttributeError: 'ManyToManyDescriptor' object has no attribute 'all' - django
Django filter() returns a QuerySet object, which is a container of results. So, you need to pick a specific result object before trying to access the fields.
results = Staff.objects.filter(pk=1)
for staff in results:
print staff.groups.all()