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
db.models.expressions.When
  • References/Python/Django/API/Models/Conditional Expressions

class When(condition=None, then=None, **lookups) [source] A When() object is

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

ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable

2025-01-10 15:47:30
postgres.fields.ArrayField.size
  • References/Python/Django/API/PostgreSQL specific model fields

size This is an optional argument. If passed, the array will have a maximum size as specified

2025-01-10 15:47:30
admin.AdminSite.site_title
  • References/Python/Django/API/contrib packages/The Django admin site

AdminSite.site_title The text to put at the end of each admin page’s <title> (a string). By default, this

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

npgettext(context, singular, plural, number) [source] Translates singular and

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

height The height of the band in pixels (Y-axis).

2025-01-10 15:47:30
db.models.functions.datetime.ExtractYear
  • References/Python/Django/API/Models/Database Functions

class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name

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

byteorder This property may be set to change the byte-order of the geometry representation.

2025-01-10 15:47:30
http.HttpResponse
  • References/Python/Django/API/Request and response objects

class HttpResponse [source] In contrast to HttpRequest objects, which are created

2025-01-10 15:47:30