On Wed, Dec 11, 2013 at 11:22 AM, <
giuliano....@gmail.com> wrote:
>
> Hello,
>
> when using ModelForms, which is the correct way to implement the "edit item"
> pattern?
>
> Suppose I've a table with many rows, each representing a record in a
> database.
> I choose one and wish to display/let the user edit the details.
>
> I'm trying to use a ModelForm and fill some fields with specific data coming
> froma query.
> The problem is I'm unable to initialize the fields and have the page served.
>
> The arguments taken for a form do not work in a modelform.
A ModelForm operates on an instance of a model. Eg