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

db.migrations.operations.DeleteModel

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

views.generic.edit.FormMixin.get_context_data()

get_context_data(**kwargs) New in Django 1.9. Calls get_form() and adds the result to the context data with the name ‘form’.

db.models.Field.blank

Field.blank If True, the field is allowed to be blank. Default is False. Note that this is different than null. null is purely database-related, whereas blank is validation-related. If a field has blank=True, form validation will allow entry of an empty value. If a field has blank=False, the field will be required.

forms.FileInput

class FileInput [source] File upload input: <input type='file' ...>

db.models.Field.db_index

Field.db_index If True, a database index will be created for this field.

db.models.Options.get_latest_by

Options.get_latest_by The name of an orderable field in the model, typically a DateField, DateTimeField, or IntegerField. This specifies the default field to use in your model Manager’s latest() and earliest() methods. Example: get_latest_by = "order_date" See the latest() docs for more.