test.runner.DiscoverRunner.run_suite()

DiscoverRunner.run_suite(suite, **kwargs) Runs the test suite. Returns the result produced by the running the test suite.

forms.Field.clean()

Field.clean(value) [source] Although the primary way you’ll use Field classes is in Form classes, you can also instantiate them and use them directly to get a better idea of how they work. Each Field instance has a clean() method, which takes a single argument and either raises a django.forms.ValidationError exception or returns the clean value: >>> from django import forms >>> f = forms.EmailField() >>> f.clean('foo@example.com') 'foo@example.com' >>> f.c

gis.gdal.OGRGeometry.ewkt

ewkt Returns the EWKT representation of this geometry.

core.management.LabelCommand.handle_label()

LabelCommand.handle_label(label, **options) Perform the command’s actions for label, which will be the string as given on the command line.

gis.db.models.GeoQuerySet.num_geom()

GeoQuerySet.num_geom(**kwargs) Deprecated since version 1.9: Use the NumGeometries function instead. Availability: PostGIS, Oracle, SpatiaLite Returns the number of geometries in a num_geom attribute on each element of the GeoQuerySet if the geometry field is a collection (e.g., a GEOMETRYCOLLECTION or MULTI* field); otherwise sets with None.

gis.gdal.SpatialReference.proj4

proj4 Alias for SpatialReference.proj.

gis.widgets.BaseGeometryWidget.template_name

BaseGeometryWidget.template_name The template used to render the map widget. You can pass widget attributes in the same manner that for any other Django widget. For example: from django.contrib.gis import forms class MyGeoForm(forms.Form): point = forms.PointField(widget= forms.OSMWidget(attrs={'map_width': 800, 'map_height': 500}))

gis.geoip.GeoIP.country_name_by_name()

GeoIP.country_name_by_name(query)

gis.gdal.SpatialReference.from_esri()

from_esri() Morphs this SpatialReference from ESRI’s format to EPSG

sessions.backends.base.SessionBase.__getitem__()

__getitem__(key) Example: fav_color = request.session['fav_color']