gis.gdal.SpatialReference.units
  • References/Python/Django/API/GDAL API

units Returns a 2-tuple of the units value and the units name and will automatically determines whether to return the linear

2025-01-10 15:47:30
gis.geoip2.GeoIP2.country()
  • References/Python/Django/API/Geolocation with GeoIP2

GeoIP2.country(query) Returns a dictionary with the country code and country for the given query.

2025-01-10 15:47:30
gis.db.models.BaseSpatialField.spatial_index
  • References/Python/Django/API/GeoDjango Model API

BaseSpatialField.spatial_index Defaults to True. Creates a spatial index for the given geometry field.

2025-01-10 15:47:30
core.files.File.save()
  • References/Python/Django/API/File handling/The File object

File.save(name, content, save=True) Saves a new file with the file name and contents provided. This will not replace the existing

2025-01-10 15:47:30
gis.geos.GEOSGeometry.area
  • References/Python/Django/API/GEOS API

GEOSGeometry.area This property returns the area of the Geometry.

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.paginate_queryset()
  • References/Python/Django/API/Multiple object mixins

paginate_queryset(queryset, page_size) Returns a 4-tuple containing (paginator, page, object_list

2025-01-10 15:47:30
gis.db.models.functions.Translate
  • References/Python/Django/API/Geographic Database Functions

class Translate(expression, x, y, z=0.0, **extra) Availability: PostGIS, SpatiaLite Accepts

2025-01-10 15:47:30
views.generic.detail.SingleObjectMixin.get_queryset()
  • References/Python/Django/API/Single object mixins

get_queryset() Returns the queryset that will be used to retrieve the object that this view will display. By default,

2025-01-10 15:47:30
template.response.SimpleTemplateResponse.context_data
  • References/Python/Django/API/Templates/TemplateResponse and SimpleTemplateResponse

SimpleTemplateResponse.context_data The context data to be used when rendering the template. It must be a

2025-01-10 15:47:30
sessions.base_session.BaseSessionManager.encode()
  • References/Python/Django/Guides

encode(session_dict) Returns the given session dictionary serialized and encoded as a string. Encoding

2025-01-10 15:47:30