﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22925	Provide ability to make  ModelForm fields required by specifying them explicitly in Meta	Andriy Sokolovskiy	Andriy Sokolovskiy	"I'm tired to always specify, which fields are must be required in that usual way:

{{{
        self.fields['tag_line'].required = True
        self.fields['cover'].required = True
        self.fields['logo'].required = True
}}}

So I propose to add `extra_required` property to ModelForm Meta class.
A way to make fields required:


{{{
    class Meta:
        model = models.SomeModel
        ...
        extra_required = ['tag_line', 'cover', 'logo']
}}}

Patch are in the attachments."	New feature	closed	Forms	dev	Normal	wontfix	modelform, form, required field		Unreviewed	1	0	0	0	0	0
