import debate.models as m

for al in m.ActionLog.objects.all():
    print repr(al)
    for field in m.ActionLog.ALL_OPTIONAL_FIELDS:
        field_value = getattr(al, field)
        if field_value:
            print "    ", field, getattr(al, field)
4177a3136a119e7dfecc00348bab8c090de396d5
import debate.models as m

for al in m.ActionLog.objects.all():
    print repr(al)
    for field in m.ActionLog.ALL_OPTIONAL_FIELDS:
        field_value = getattr(al, field)
        if field_value:
            print "    ", field, getattr(al, field)