[Fixed]-Issue when looping through form fields in Django's __init__ method

1👍

Your form is a standard form, not a model form; the Meta class is ignored and the only fields are those you define yourself.

Your form should inherit from forms.ModelForm for this to work.

Leave a comment