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.

gis.geos.GEOSGeometry.equals_exact()

GEOSGeometry.equals_exact(other, tolerance=0) Returns true if the two geometries are exactly equal, up to a specified tolerance. The tolerance value should be a floating point number representing the error tolerance in the comparison, e.g., poly1.equals_exact(poly2, 0.001) will compare equality to within one thousandth of a unit.

apps.apps.ready

apps.ready Boolean attribute that is set to True after the registry is fully populated and all AppConfig.ready() methods are called.

utils.html.escape()

escape(text) [source] Returns the given text with ampersands, quotes and angle brackets encoded for use in HTML. The input is first passed through force_text() and the output has mark_safe() applied.

gis.gdal.OGRGeometry.extent

extent Returns the envelope of this geometry as a 4-tuple, instead of as an Envelope object: >>> point.extent (0.0, 0.0, 5.0, 5.0)

gis.db.models.functions.PointOnSurface

class PointOnSurface(expression, **extra) Availability: PostGIS, Oracle, SpatiaLite Accepts a single geographic field or expression and returns a Point geometry guaranteed to lie on the surface of the field; otherwise returns None.

core.files.File.write()

write(content) Writes the specified content string to the file. Depending on the storage system behind the scenes, this content might not be fully committed until close() is called on the file.

views.generic.edit.FormMixin.get_prefix()

get_prefix() Determine the prefix for the generated form. Returns prefix by default.

db.models.Field.db_column

Field.db_column The name of the database column to use for this field. If this isn’t given, Django will use the field’s name. If your database column name is an SQL reserved word, or contains characters that aren’t allowed in Python variable names – notably, the hyphen – that’s OK. Django quotes column and table names behind the scenes.