Syntax of ModelForm

Report a typo

Arrange the lines of the SimpleModelForm in the correct order and with the correct indents:

Reorder lines using drag or arrows. Adjust indentation with left buttons
                fields = '__all__'
              
                class Meta:
              
                class SimpleModelForm(ModelForm):
              
                model = Simple
              
___

Create a free account to access the full topic