apps.apps.ready

apps.ready Boolean attribute that is set to True after the registry is fully populated and all AppConfig.ready() methods are called.

gis.geos.GEOSGeometry.equals_exact()

GEOSGeometry.equals_exact(other, tolerance=0) Returns true if the two geometries are exactly equal, up to a specified tolerance. The tolerance value should be a floating point number representing the error tolerance in the comparison, e.g., poly1.equals_exact(poly2, 0.001) will compare equality to within one thousandth of a unit.

db.models.Field.db_tablespace

Field.db_tablespace The name of the database tablespace to use for this field’s index, if this field is indexed. The default is the project’s DEFAULT_INDEX_TABLESPACE setting, if set, or the db_tablespace of the model, if any. If the backend doesn’t support tablespaces for indexes, this option is ignored.

auth.models.Group

class models.Group

views.generic.dates.BaseArchiveIndexView

class BaseArchiveIndexView [source]

utils.feedgenerator.SyndicationFeed.num_items()

num_items() [source]

gis.gdal.OGRGeometry.wkb

wkb Returns a buffer containing a WKB representation of this geometry.

http.HttpResponse.__delitem__()

HttpResponse.__delitem__(header) Deletes the header with the given name. Fails silently if the header doesn’t exist. Case-insensitive.

Form and field validation

Form validation happens when the data is cleaned. If you want to customize this process, there are various places to make changes, each one serving a different purpose. Three types of cleaning methods are run during form processing. These are normally executed when you call the is_valid() method on a form. There are other things that can also trigger cleaning and validation (accessing the errors attribute or calling full_clean() directly), but normally they won’t be needed. In general, any clea

admin.ModelAdmin.get_prepopulated_fields()

ModelAdmin.get_prepopulated_fields(request, obj=None) The get_prepopulated_fields method is given the HttpRequest and the obj being edited (or None on an add form) and is expected to return a dictionary, as described above in the ModelAdmin.prepopulated_fields section.