utils.cache.patch_response_headers()
  • References/Python/Django/API/Django Utils

patch_response_headers(response, cache_timeout=None) [source] Adds some useful headers to

2025-01-10 15:47:30
gis.admin.OSMGeoAdmin
  • References/Python/Django/API/GeoDjango’s admin site

class OSMGeoAdmin A subclass of GeoModelAdmin that uses a spherical mercator projection with

2025-01-10 15:47:30
Clickjacking Protection
  • References/Python/Django/API/Clickjacking Protection

The clickjacking middleware and decorators provide easy-to-use protection against

2025-01-10 15:47:30
gis.gdal.SpatialReference.import_proj()
  • References/Python/Django/API/GDAL API

import_proj(proj) Import spatial reference from PROJ.4 string.

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

HttpResponse.delete_cookie(key, path='/', domain=None) Deletes the cookie with the given key. Fails silently if the key doesn’t

2025-01-10 15:47:30
forms.ModelChoiceField.queryset
  • References/Python/Django/API/Forms/Form fields

queryset A QuerySet of model objects from which the choices for the field will be derived, and which will be used

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

class Concat(*expressions, **extra) [source] Accepts a list of at least two text fields or

2025-01-10 15:47:30
db.models.Expression.get_group_by_cols()
  • References/Python/Django/API/Models/Query Expressions

get_group_by_cols() Responsible for returning the list of columns references by this expression. get_group_by_cols()

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

GEOSGeometry.covers(other) New in Django 1.10. Returns

2025-01-10 15:47:30
Form and field validation
  • References/Python/Django/API/Forms/Form and field validation

Form validation happens when the data is cleaned. If you want to customize this process, there are various places to make changes, each one serving a different purpose. Three

2025-01-10 15:47:30