Built-in class-based views API
  • References/Python/Django/API/Built-in class-based views API

Class-based views API reference. For introductory material, see the Class-based views topic guide.

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

ImageField.width_field Name of a model field which will be auto-populated with the width of the image each time the model instance

2025-01-10 15:47:30
db.models.query.QuerySet.exclude()
  • References/Python/Django/API/Models/QuerySet API reference

exclude(**kwargs) Returns a new QuerySet containing objects that do not match the given lookup parameters

2025-01-10 15:47:30
postgres.validators.RangeMinValueValidator
  • References/Python/Django/API/Validators

class RangeMinValueValidator(limit_value, message=None) [source] Validates that the lower

2025-01-10 15:47:30
apps.apps.ready
  • References/Python/Django/API/Applications

apps.ready Boolean attribute that is set to True after the registry is fully populated and all AppConfig

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

has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the format "<app

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

class RasterField RasterField is currently only implemented for the PostGIS backend.

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
db.models.Lookup.process_lhs()
  • References/Python/Django/API/Models/Lookup API reference

process_lhs(compiler, connection, lhs=None) [source] Returns a tuple (lhs_string, lhs_params)

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

GeoIP2.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30