views.generic.detail.SingleObjectMixin.get_queryset()
  • References/Python/Django/API/Single object mixins

get_queryset() Returns the queryset that will be used to retrieve the object that this view will display. By default,

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

GEOSGeometry.valid_reason Returns a string describing the reason why a geometry is invalid.

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
admin.InlineModelAdmin.min_num
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.min_num This controls the minimum number of forms to show in the inline. See

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

import_wkt(wkt) Import spatial reference from WKT.

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

class ModelAdmin [source] The ModelAdmin class is the representation of a model

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

size The size of the file in bytes.

2025-01-10 15:47:30
views.generic.edit.FormMixin.get_context_data()
  • References/Python/Django/API/Editing mixins

get_context_data(**kwargs) New in Django 1.9. Calls

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

input_formats A list of formats used to attempt to convert a string to a valid datetime.date object.

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

Field.one_to_many Boolean flag that is True if the field has a one-to-many relation, such as a GenericRelation

2025-01-10 15:47:30