auth.backends.RemoteUserBackend.authenticate()
  • References/Python/Django/API/contrib packages/django.contrib.auth

RemoteUserBackend.authenticate(remote_user) The username passed as remote_user is considered trusted. This method

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

class DayMixin [source] A mixin that can be used to retrieve and provide parsing information

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.get_context_object_name()
  • References/Python/Django/API/Multiple object mixins

get_context_object_name(object_list) Return the context variable name that will be used to contain the list of data that this

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

class TruncHour(expression, output_field=None, tzinfo=None, **extra) [source]

2025-01-10 15:47:30
forms.BoundField.auto_id
  • References/Python/Django/API/Forms/The Forms API

BoundField.auto_id The HTML ID attribute for this BoundField. Returns an empty string if Form.auto_id

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

GEOSGeometry.length Returns the length of this geometry (e.g., 0 for a Point, the length of a LineString

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

get_language() [source] Returns the currently selected language code. Returns None

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

distinct(*fields) Returns a new QuerySet that uses SELECT DISTINCT in its SQL query. This eliminates

2025-01-10 15:47:30
PostgreSQL specific lookups
  • References/Python/Django/API/PostgreSQL specific lookups

Trigram similarity New in Django 1.10. The tr

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

class PreparedGeometry All methods on PreparedGeometry take an other argument, which must be a

2025-01-10 15:47:30