db.migrations.operations.AlterUniqueTogether
  • References/Python/Django/API/Migration Operations

class AlterUniqueTogether(name, unique_together) [source] Changes the model’s set of unique

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

QueryDict.lists() Like items(), except it includes all values, as a list, for each member of the dictionary. For

2025-01-10 15:47:30
template.loaders.base.Loader.get_contents()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

get_contents(origin) Returns the contents for a template given a Origin instance. This

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

semi_minor Returns the semi minor axis of the ellipsoid for this spatial reference.

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

class models.UserManager The User model has a custom manager that has the following helper methods (in addition

2025-01-10 15:47:30
core.files.base.ContentFile
  • References/Python/Django/API/File handling/The File object

class ContentFile(File) [source] The ContentFile class inherits from File

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

class Cast(expression, output_field) [source] New

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

BoundField.id_for_label Use this property to render the ID of this field. For example, if you are manually constructing a

2025-01-10 15:47:30
gis.geoip.GeoIP.coords()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.coords(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30
views.defaults.permission_denied()
  • References/Python/Django/API/Built-in Views

defaults.permission_denied(request, exception, template_name='403.html') In the same vein as the 404 and 500 views, Django has

2025-01-10 15:47:30