core.checks.Debug

class Debug(msg, hint=None, obj=None, id=None) [source]

core.files.images.ImageFile.height

height Height of the image in pixels.

views.generic.edit.ModelFormMixin.form_invalid()

form_invalid() Renders a response, providing the invalid form as context.

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.

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:

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

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():

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

views.generic.edit.FormMixin.form_valid()

form_valid(form) Redirects to get_success_url().

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.