sessions.base_session.AbstractBaseSession.session_key

session_key Primary key. The field itself may contain up to 40 characters. The current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters).

Handling HTTP requests

Information on handling HTTP requests in Django: URL dispatcher Writing views View decorators File Uploads Django shortcut functions Generic views Middleware How to use sessions

db.transaction.savepoint_commit()

savepoint_commit(sid, using=None) [source] Releases savepoint sid. The changes performed since the savepoint was created become part of the transaction.

gis.geos.GEOSGeometry.hexewkb

GEOSGeometry.hexewkb Returns the EWKB of this Geometry in hexadecimal form. This is an extension of the WKB specification that includes the SRID value that are a part of this geometry.

gis.geos.GEOSGeometry.num_geom

GEOSGeometry.num_geom Returns the number of geometries in this geometry. In other words, will return 1 on anything but geometry collections.

db.models.query.QuerySet.using()

using(alias) This method is for controlling which database the QuerySet will be evaluated against if you are using more than one database. The only argument this method takes is the alias of a database, as defined in DATABASES. For example: # queries the database with the 'default' alias. >>> Entry.objects.all() # queries the database with the 'backup' alias >>> Entry.objects.using('backup')

gis.geos.GEOSGeometry.geojson

GEOSGeometry.geojson Alias for GEOSGeometry.json.

postgres.aggregates.RegrAvgX

class RegrAvgX(y, x) [source] Returns the average of the independent variable (sum(x)/N) as a float, or None if there aren’t any matching rows.

gis.gdal.DataSource.name

name Returns the name of the data source.

gis.gdal.SpatialReference.to_esri()

to_esri() Morphs this SpatialReference to ESRI’s format.