db.migrations.operations.DeleteModel

class DeleteModel(name) [source] Deletes the model from the project history and its table from the database.

views.generic.list.MultipleObjectMixin.paginate_orphans

paginate_orphans An integer specifying the number of “overflow” objects the last page can contain. This extends the paginate_by limit on the last page by up to paginate_orphans, in order to keep the last page from having a very small number of objects.

contenttypes.admin.GenericTabularInline

class GenericTabularInline

admin.AdminSite.index_template

AdminSite.index_template Path to a custom template that will be used by the admin site main index view.

gis.gdal.OGRGeometry

class OGRGeometry(geom_input, srs=None) This object is a wrapper for the OGR Geometry class. These objects are instantiated directly from the given geom_input parameter, which may be a string containing WKT, HEX, GeoJSON, a buffer containing WKB data, or an OGRGeomType object. These objects are also returned from the Feature.geom attribute, when reading vector data from Layer (which is in turn a part of a DataSource). classmethod from_bbox(bbox) Constructs a Polygon from the given bound

core.paginator.Page.previous_page_number()

Page.previous_page_number() [source] Returns the previous page number. Raises InvalidPage if previous page doesn’t exist.

views.generic.edit.FormMixin.form_valid()

form_valid(form) Redirects to get_success_url().

views.debug.SafeExceptionReporterFilter.get_traceback_frame_variables()

SafeExceptionReporterFilter.get_traceback_frame_variables(request, tb_frame) [source] Returns the filtered dictionary of local variables for the given traceback frame. By default it replaces the values of sensitive variables with stars (**********). See also You can also set up custom error reporting by writing a custom piece of exception middleware. If you do write custom error handling, it’s a good idea to emulate Django’s built-in error handling and only report/log errors if DEBUG is Fal

forms.MultiWidget.format_output()

format_output(rendered_widgets) [source] Given a list of rendered widgets (as strings), returns a Unicode string representing the HTML for the whole lot. This hook allows you to format the HTML design of the widgets any way you’d like. Here’s an example widget which subclasses MultiWidget to display a date with the day, month, and year in different select boxes. This widget is intended to be used with a DateField rather than a MultiValueField, thus we have implemented value_from_datadict():

urls.ResolverMatch.view_name

view_name The name of the view that matches the URL, including the namespace if there is one.