utils.timezone.localtime()
  • References/Python/Django/API/Django Utils

localtime(value, timezone=None) [source] Converts an aware

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

GEOSGeometry.clone() This method returns a GEOSGeometry that is a clone of the original.

2025-01-10 15:47:30
gis.gdal.GDALBand.max
  • References/Python/Django/API/GDAL API

max The maximum pixel value of the band (excluding the “no data” value).

2025-01-10 15:47:30
views.decorators.http.etag()
  • References/Python/Django/Guides

etag(etag_func) [source]

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

slug_field The name of the field on the model that contains the slug. By default, slug_field is 'slug'

2025-01-10 15:47:30
views.generic.dates.BaseDateDetailView
  • References/Python/Django/API/Built-in class-based views API/Generic date views

class BaseDateDetailView [source]

2025-01-10 15:47:30
Conditional View Processing
  • References/Python/Django/Guides

HTTP clients can send a number of headers to tell the server about copies of a resource that they have already seen. This is commonly used when retrieving a Web page (using

2025-01-10 15:47:30
db.models.FilePathField
  • References/Python/Django/API/Models/Model field reference

class FilePathField(path=None, match=None, recursive=False, max_length=100, **options) [source] A

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

html_safe() [source] The __html__() method on a class helps non-Django templates

2025-01-10 15:47:30
core.paginator.Paginator.page_range
  • References/Python/Django/Guides

Paginator.page_range A 1-based range iterator of page numbers, e.g. yielding [1, 2, 3, 4].

2025-01-10 15:47:30