postgres.forms.HStoreField
  • References/Python/Django/API/PostgreSQL specific form fields and widgets

class HStoreField [source] A field which accepts JSON encoded data for an

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

QueryDict.values() Just like the standard dictionary values() method, except this uses the same last-value logic

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

HttpResponse.__delitem__(header) Deletes the header with the given name. Fails silently if the header doesn’t exist. Case-insensitive

2025-01-10 15:47:30
core.files.uploadhandler.FileUploadHandler.new_file()
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

FileUploadHandler.new_file(field_name, file_name, content_type, content_length, charset, content_type_extra) [source]

2025-01-10 15:47:30
messages.storage.base.Message
  • References/Python/Django/API/contrib packages/The messages framework

class storage.base.Message When you loop over the list of messages in a template, what you get are instances of the Message

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
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
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
template.response.SimpleTemplateResponse.context_data
  • References/Python/Django/API/Templates/TemplateResponse and SimpleTemplateResponse

SimpleTemplateResponse.context_data The context data to be used when rendering the template. It must be a

2025-01-10 15:47:30