auth.forms.PasswordChangeForm

class PasswordChangeForm A form for allowing a user to change their password.

admin.ModelAdmin.change_form_template

ModelAdmin.change_form_template Path to a custom template, used by change_view().

core.validators.RegexValidator.regex

regex The regular expression pattern to search for the provided value, or a pre-compiled regular expression. By default, raises a ValidationError with message and code if a match is not found. That standard behavior can be reversed by setting inverse_match to True, in which case the ValidationError is raised when a match is found. By default, matches any string (including an empty string).

postgres.fields.django.postgres.forms.BaseRangeField

class django.contrib.postgres.forms.BaseRangeField Base class for form range fields. base_field The form field to use. range_type The psycopg2 range type to use.

db.backends.base.schema.BaseDatabaseSchemaEditor.create_model()

BaseDatabaseSchemaEditor.create_model(model) [source] Creates a new table in the database for the provided model, along with any unique constraints or indexes it requires.

apps.apps.get_app_config()

apps.get_app_config(app_label) Returns an AppConfig for the application with the given app_label. Raises LookupError if no such application exists.

Introduction to class-based views

Class-based views provide an alternative way to implement views as Python objects instead of functions. They do not replace function-based views, but have certain differences and advantages when compared to function-based views: Organization of code related to specific HTTP methods (GET, POST, etc.) can be addressed by separate methods instead of conditional branching. Object oriented techniques such as mixins (multiple inheritance) can be used to factor code into reusable components. The rel

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).

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).