Examples of model relationship API usage
  • References/Python/Django/Guides

Many-to-many relationships Many-to-one relationships One-to-one relationships

2025-01-10 15:47:30
gis.db.models.GeoQuerySet.transform()
  • References/Python/Django/API/GeoQuerySet API Reference

GeoQuerySet.transform(srid=4326, **kwargs) Deprecated since version 1

2025-01-10 15:47:30
apps.apps.get_app_configs()
  • References/Python/Django/API/Applications

apps.get_app_configs() Returns an iterable of AppConfig instances.

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

description A verbose description of the field, e.g. for the django.contrib.admindocs application.

2025-01-10 15:47:30
views.decorators.http.etag()
  • References/Python/Django/Guides

etag(etag_func) [source]

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

class QueryDict [source] In an HttpRequest object, the GET and

2025-01-10 15:47:30
admin.ModelAdmin.ordering
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.ordering Set ordering to specify how lists of objects should be ordered in the Django admin views. This

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

class BoundingCircle(expression, num_seg=48, **extra) Availability:

2025-01-10 15:47:30
gis.db.models.LineStringField
  • References/Python/Django/API/GeoDjango Model API

class LineStringField

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

ImageField.height_field Name of a model field which will be auto-populated with the height of the image each time the model

2025-01-10 15:47:30