S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which class is used to build a form from a model?

  • (A) forms.ModelForm
  • (B) forms.FormBuilder
  • (C) forms.FieldForm
  • (D) forms.AutoForm
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
forms.ModelForm automatically builds a form based on model fields.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.