'Returns KML representation of the geometry field in a `kml`
attribute on each element of this GeoQuerySet.'

def kml(self, **kwargs):

    s = {'desc': 'KML', 'procedure_fmt': '%(geo_col)s,%(precision)s', 'procedure_args': {'precision': kwargs.pop('precision', 8)}}
    return self._spatial_attribute('kml', s, **kwargs)
