core.signing.loads()
  • References/Python/Django/Guides

loads(string, key=None, salt='django.core.signing', max_age=None) [source] Reverse of dumps()

2025-01-10 15:47:30
views.generic.dates.YearMixin.year
  • References/Python/Django/API/Date-based mixins

year Optional The value for the year, as a string. By default, set to None, which means the year

2025-01-10 15:47:30
utils.translation.ungettext_lazy()
  • References/Python/Django/API/Django Utils

ungettext_lazy(singular, plural, number) [source]

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

class A Alias for Area class.

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

trim New in Django 1.10. This property

2025-01-10 15:47:30
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