def csv_fields(self, location):
        """Yield a CSV-ready list of selected attribute values for location."""
        # Columns 0 and 1
        details = [location.location_type, location.name]
        # Columns 2 and 3
        if location.parent:
            details.append(location.parent.location_type)
            details.append(location.parent.name)
        else:
            details.extend([None, None])
        # Columns 4 and 5
        if isinstance(location, Rack):
            details.append(location.rack_row)
            details.append(location.rack_column)
        else:
            details.extend([None, None])
        # Column 6
        if hasattr(location, 'timezone'):
            details.append(location.timezone)
        else:
            details.append(None)
        # Column 7
        details.append(location.fullname)
        # Column 8
        if location.default_dns_domain:
            details.append(location.default_dns_domain)
        else:
            details.append(None)
        yield details