#NEWLINE# def geohash( self , precision = 20 , **kwargs ) : #NEWLINE# #INDENT# '\n        Returns a GeoHash representation of the given field in a `geohash`\n        attribute on each element of the GeoQuerySet.\n\n        The `precision` keyword may be used to custom the number of\n        _characters_ used in the output GeoHash, the default is 20.\n        ' #NEWLINE# s = { #NEWLINE# #INDENT# 'desc' : 'GeoHash' , #NEWLINE# 'procedure_args' : { #NEWLINE# #INDENT# 'precision' : precision , #NEWLINE# #UNINDENT# } , #NEWLINE# 'procedure_fmt' : '%(geo_col)s,%(precision)s' , #NEWLINE# #UNINDENT# } #NEWLINE# return self . _spatial_attribute ( 'geohash' , s , ** kwargs )