gis.gdal.Layer.fields

fields Returns a list of the names of each of the fields in this layer: >>> layer.fields ['Name', 'Population', 'Density', 'Created'] Returns a list of the data types of each of the fields in this layer. These are subclasses of Field, discussed below: >>> [ft.__name__ for ft in layer.field_types] ['OFTString', 'OFTReal', 'OFTReal', 'OFTDate']

gis.gdal.GDALBand.height

height The height of the band in pixels (Y-axis).

redirects.middleware.RedirectFallbackMiddleware.response_gone_class

response_gone_class The HttpResponse class used when a Redirect is not found for the requested path or has a blank new_path value. Defaults to HttpResponseGone.

http.HttpResponse.write()

HttpResponse.write(content) [source] This method makes an HttpResponse instance a file-like object.

db.models.Expression.get_group_by_cols()

get_group_by_cols() Responsible for returning the list of columns references by this expression. get_group_by_cols() should be called on any nested expressions. F() objects, in particular, hold a reference to a column.

db.models.Field.one_to_many

Field.one_to_many Boolean flag that is True if the field has a one-to-many relation, such as a GenericRelation or the reverse of a ForeignKey; False otherwise.

gis.gdal.Field.as_double()

as_double() Returns the value of the field as a double (float): >>> city['Density'].as_double() 874.7

db.models.functions.datetime.TruncYear

class TruncYear(expression, output_field=None, tzinfo=None, **extra) [source] kind = 'year'

http.StreamingHttpResponse.streaming_content

StreamingHttpResponse.streaming_content An iterator of strings representing the content.

views.generic.edit.FormMixin.get_initial()

get_initial() Retrieve initial data for the form. By default, returns a copy of initial.