modelform display table of filtered data

I don’t know if the prior response answered your question or not - but I do have a couple of really minor things I’ll mention.

  • It looks like you’re rendering the csrf_token with every row - that’s not necessary, it only needs to be rendered once for the form.

  • I personally find your use of the name field here to reference a row of data confusing - others are likely to as well, since the common usage of that name is to refer to an individual data element and not an entire row.

  • You’re creating one instance of the form, but rendering that same form on every row in data. Since it’s the same form on every row, you’ll only get one element returned - and, I don’t believe you’re going to get any information associating the data being entered with the row that it was entered on.
    If the user is only going to be entering one value, then you might be able to make this work for you by adding some kind of row-id to the form. Otherwise, what you need to be doing here is creating a separate form for each row. (Take a look at formsets.)