gis.geos.WKBReader

class WKBReader Example: >>> from django.contrib.gis.geos import WKBReader >>> wkb_r = WKBReader() >>> wkb_r.read('0101000000000000000000F03F000000000000F03F') <Point object at 0x103a88910>

gis.measure.Distance.__getattr__()

__getattr__(unit_att) Returns the distance value in units corresponding to the given unit attribute. For example: >>> print(dist.km) 8.04672

http.HttpRequest.xreadlines()

HttpRequest.xreadlines() [source]

gis.forms.LineStringField

class LineStringField

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.

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.

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.

core.paginator.Paginator.num_pages

Paginator.num_pages The total number of pages.