gis.gdal.OGRGeometry.
  • References/Python/Django/API/GDAL API

__len__() Returns the number of points in a LineString, the number of rings in a Polygon, or the number

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

class AsSVG(expression, relative=False, precision=8, **extra) Availability: PostGIS, SpatiaLite

2025-01-10 15:47:30
admin.ModelAdmin.get_search_fields()
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.get_search_fields(request) [source] The get_search_fields method

2025-01-10 15:47:30
postgres.aggregates.ArrayAgg
  • References/Python/Django/API/PostgreSQL specific aggregation functions

class ArrayAgg(expression, **extra) [source] Returns a list of values, including nulls, concatenated

2025-01-10 15:47:30
gis.measure.Area.
  • References/Python/Django/API/Measurement Objects

__getattr__(unit_att) Returns the area value in units corresponding to the given unit attribute. For example:

2025-01-10 15:47:30
auth.models.User.last_name
  • References/Python/Django/API/contrib packages/django.contrib.auth

last_name Optional. 30 characters or fewer.

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

GEOSGeometry.length Returns the length of this geometry (e.g., 0 for a Point, the length of a LineString

2025-01-10 15:47:30
views.generic.edit.DeletionMixin.success_url
  • References/Python/Django/API/Editing mixins

success_url The url to redirect to when the nominated object has been successfully deleted.

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

GeoIP2.city(query) Returns a dictionary of city information for the given query. Some of the values in the dictionary may be

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

GeoIP2.country_name(query) Returns the country name corresponding to the query.

2025-01-10 15:47:30