db.models.Options.get_latest_by

Options.get_latest_by The name of an orderable field in the model, typically a DateField, DateTimeField, or IntegerField. This specifies the default field to use in your model Manager’s latest() and earliest() methods. Example: get_latest_by = "order_date" See the latest() docs for more.

gis.gdal.Field.value

value Returns the value of this field. The Field class itself returns the value as a string, but each subclass returns the value in the most appropriate form: >>> city['Population'].value 102121

urls.ResolverMatch.namespaces

namespaces The list of individual namespace components in the full instance namespace for the URL pattern that matches the URL. i.e., if the namespace is foo:bar, then namespaces will be ['foo', 'bar'].

gis.gdal.OGRGeometry.sym_difference()

sym_difference() Returns the region consisting of the symmetric difference of this geometry and the other, as a new OGRGeometry object.

gis.geos.MultiPolygon.cascaded_union

cascaded_union Deprecated since version 1.10: Use the GEOSGeometry.unary_union property instead. Returns a Polygon that is the union of all of the component polygons in this collection. The algorithm employed is significantly more efficient (faster) than trying to union the geometries together individually. [2]

http.HttpResponseForbidden

class HttpResponseForbidden [source] Acts just like HttpResponse but uses a 403 status code.

db.models.Field.db_index

Field.db_index If True, a database index will be created for this field.

forms.FileInput

class FileInput [source] File upload input: <input type='file' ...>

db.models.Field.blank

Field.blank If True, the field is allowed to be blank. Default is False. Note that this is different than null. null is purely database-related, whereas blank is validation-related. If a field has blank=True, form validation will allow entry of an empty value. If a field has blank=False, the field will be required.

forms.MultiValueField.compress()

compress(data_list) [source] Takes a list of valid values and returns a “compressed” version of those values – in a single value. For example, SplitDateTimeField is a subclass which combines a time field and a date field into a datetime object. This method must be implemented in the subclasses.