Re: Solution: change only a subset of a model's field in newforms

2007-02-28 Thread anders conbere
On 2/28/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > On 2/28/07, akaihola <[EMAIL PROTECTED]> wrote: > > > > It must be a common need to allow the user to change only some fields > > of an object and keep old values for the rest. > > > > So far with newforms this has involved copying

Re: Solution: change only a subset of a model's field in newforms

2007-02-28 Thread Joseph Kocherhans
On 2/28/07, akaihola <[EMAIL PROTECTED]> wrote: > > It must be a common need to allow the user to change only some fields > of an object and keep old values for the rest. > > So far with newforms this has involved copying values explicitly from > the database object to the form object. Looking at

Solution: change only a subset of a model's field in newforms

2007-02-28 Thread akaihola
It must be a common need to allow the user to change only some fields of an object and keep old values for the rest. So far with newforms this has involved copying values explicitly from the database object to the form object. Looking at newforms code I realized that a cleaner way is to just not