gis.widgets.BaseGeometryWidget.display_raw

BaseGeometryWidget.display_raw Boolean value specifying if a textarea input showing the serialized representation of the current geometry is visible, mainly for debugging purposes (default is False).

forms.GenericIPAddressField.protocol

protocol Limits valid inputs to the specified protocol. Accepted values are both (default), IPv4 or IPv6. Matching is case insensitive.

views.generic.edit.ModelFormMixin.fields

fields A list of names of fields. This is interpreted the same way as the Meta.fields attribute of ModelForm. This is a required attribute if you are generating the form class automatically (e.g. using model). Omitting this attribute will result in an ImproperlyConfigured exception.

db.models.FilePathField

class FilePathField(path=None, match=None, recursive=False, max_length=100, **options) [source] A CharField whose choices are limited to the filenames in a certain directory on the filesystem. Has three special arguments, of which the first is required:

test.TransactionTestCase.multi_db

TransactionTestCase.multi_db Django sets up a test database corresponding to every database that is defined in the DATABASES definition in your settings file. However, a big part of the time taken to run a Django TestCase is consumed by the call to flush that ensures that you have a clean database at the start of each test run. If you have multiple databases, multiple flushes are required (one for each database), which can be a time consuming activity – especially if your tests don’t need to

gis.gdal.Point.x

x Returns the X coordinate of this point: >>> OGRGeometry('POINT (1 2)').x 1.0

gis.gdal.OGRGeometry.contains()

contains(other) Returns True if this geometry contains the other, otherwise returns False.

gis.gdal.GDALBand.width

width The width of the band in pixels (X-axis).

core.files.storage.Storage.created_time()

created_time(name) [source] Returns a naive datetime object containing the creation time of the file. For storage systems that aren’t able to return the creation time this will raise NotImplementedError instead. Deprecated since version 1.10: Use get_created_time() instead.

admin.InlineModelAdmin.model

InlineModelAdmin.model The model which the inline is using. This is required.