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.

db.models.Field.many_to_one

Field.many_to_one Boolean flag that is True if the field has a many-to-one relation, such as a ForeignKey; False otherwise.

auth.views.password_reset_done()

password_reset_done(request, template_name='registration/password_reset_done.html', current_app=None, extra_context=None) The page shown after a user has been emailed a link to reset their password. This view is called by default if the password_reset() view doesn’t have an explicit post_reset_redirect URL set. URL name: password_reset_done Note If the email address provided does not exist in the system, the user is inactive, or has an unusable password, the user will still be redirected to

db.models.DecimalField

class DecimalField(max_digits=None, decimal_places=None, **options) [source] A fixed-precision decimal number, represented in Python by a Decimal instance. Has two required arguments:

core.validators.RegexValidator.flags

flags The flags used when compiling the regular expression string regex. If regex is a pre-compiled regular expression, and flags is overridden, TypeError is raised. Defaults to 0.