views.generic.detail.SingleObjectTemplateResponseMixin.template_name_suffix

template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _detail.

gis.gdal.OGRGeometry.intersects()

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

middleware.common.BrokenLinkEmailsMiddleware

class BrokenLinkEmailsMiddleware [source] Sends broken link notification emails to MANAGERS (see Error reporting).

gis.geoip2.GeoIP2.geos()

GeoIP2.geos(query) Returns a Point object corresponding to the query.

db.models.Options.permissions

Options.permissions Extra permissions to enter into the permissions table when creating this object. Add, delete and change permissions are automatically created for each model. This example specifies an extra permission, can_deliver_pizzas: permissions = (("can_deliver_pizzas", "Can deliver pizzas"),) This is a list or tuple of 2-tuples in the format (permission_code, human_readable_permission_name).

admin.models.LogEntry.get_change_message()

LogEntry.get_change_message() New in Django 1.10. Formats and translates change_message into the current user language. Messages created before Django 1.10 will always be displayed in the language in which they were logged.

db.models.Model.clean_fields()

Model.clean_fields(exclude=None) [source] This method will validate all fields on your model. The optional exclude argument lets you provide a list of field names to exclude from validation. It will raise a ValidationError if any fields fail validation. The second step full_clean() performs is to call Model.clean(). This method should be overridden to perform custom validation on your model.

forms.Form.initial

Form.initial Use initial to declare the initial value of form fields at runtime. For example, you might want to fill in a username field with the username of the current session. To accomplish this, use the initial argument to a Form. This argument, if given, should be a dictionary mapping field names to initial values. Only include the fields for which you’re specifying an initial value; it’s not necessary to include every field in your form. For example: >>> f = ContactForm(initia

db.models.ManyToManyField.related_query_name

ManyToManyField.related_query_name Same as ForeignKey.related_query_name.

admin.InlineModelAdmin.get_formset()

InlineModelAdmin.get_formset(request, obj=None, **kwargs) Returns a BaseInlineFormSet class for use in admin add/change views. See the example for ModelAdmin.get_formsets_with_inlines.