db.models.FileField

class FileField(upload_to=None, max_length=100, **options) [source] A file-upload field. Note The primary_key and unique arguments are not supported, and will raise a TypeError if used. Has two optional arguments:

contenttypes.models.ContentType.app_label

app_label The name of the application the model is part of. This is taken from the app_label attribute of the model, and includes only the last part of the application’s Python import path; “django.contrib.contenttypes”, for example, becomes an app_label of “contenttypes”.

gis.gdal.Field.type_name

type_name Returns a string with the name of the data type of this field: >>> city['Name'].type_name 'String'

db.models.functions.datetime.ExtractYear

class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name = 'year'

postgres.aggregates.RegrCount

class RegrCount(y, x) [source] Returns an int of the number of input rows in which both expressions are not null.

gis.gdal.OGRGeometry.hex

hex Returns a string representation of this geometry in HEX WKB format: >>> OGRGeometry('POINT(1 2)').hex '0101000000000000000000F03F0000000000000040'

db.models.Manager

class Manager [source] A Manager is the interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application. The way Manager classes work is documented in Making queries; this document specifically touches on model options that customize Manager behavior.

apps.AppConfig.get_models()

AppConfig.get_models() [source] Returns an iterable of Model classes for this application.

http.HttpResponse.flush()

HttpResponse.flush() This method makes an HttpResponse instance a file-like object.

gis.gdal.OGRGeometry.boundary()

boundary() The boundary of this geometry, as a new OGRGeometry object.