[Answer]-Error while creating a django forms from a list.

1👍

A ModelForm edits one instance. You can’t pass it a list of urls. It needs an instance of Blog.

TumblrForm(instance=Blog.objects.get(pk=1))

If you want to edit multiple ModelForms, you’ll want to look into django’s FormSet.

Leave a comment