You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for key, val in errors.iteritems():
if key == '__all__':
final_errors['__all__'] = val
elif not isinstance(form.fields[key], forms.FileField):
html_id = form.fields[key].widget.attrs.get('id') or form[key].auto_id
html_id = form.fields[key].widget.id_for_label(html_id)
final_errors[html_id] = val
The text was updated successfully, but these errors were encountered:
if views.py line 27 change if to elif:
The text was updated successfully, but these errors were encountered: