http.HttpRequest.session
  • References/Python/Django/API/Request and response objects

HttpRequest.session From the

2025-01-10 15:47:30
views.generic.dates.DayMixin.get_previous_day()
  • References/Python/Django/API/Date-based mixins

get_previous_day(date) [source] Returns a date object containing the previous valid day.

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

wkt Returns a string representation of this geometry in WKT format.

2025-01-10 15:47:30
db.models.Aggregate.template
  • References/Python/Django/API/Models/Query Expressions

template A class attribute, as a format string, that describes the SQL that is generated for this aggregate. Defaults to '%(function)s(

2025-01-10 15:47:30
sessions.backends.cached_db.SessionStore.cache_key_prefix
  • References/Python/Django/Guides

cache_key_prefix New in Django 1.9. A

2025-01-10 15:47:30
gis.forms.MultiPolygonField
  • References/Python/Django/API/GeoDjango Forms API

class MultiPolygonField

2025-01-10 15:47:30
conf.urls.i18n.i18n_patterns()
  • References/Python/Django/Guides

i18n_patterns(*urls, prefix_default_language=True) [source] This function can be used in

2025-01-10 15:47:30
urls.get_script_prefix()
  • References/Python/Django/API/django.urls utility functions

get_script_prefix() [source] Normally, you should always use reverse() to define

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

ForeignKey.db_constraint Controls whether or not a constraint should be created in the database for this foreign key. The default

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