Re: Help needed in understanding newforms.

2007-03-04 Thread akaihola
On 2 March, Malcolm Tredinnick wrote: > [...] Group B are those forms where the input data is then > munged in some way and split across possibly multiple models for > storage. An example here might be a form that allows multiple teams for > a competition to be entered -- the data is split across

Re: Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Malcolm Tredinnick wrote: > I fear you might still be confusing the uses of model.save() and > form.save() here. Mike Keller needed a save() method in his model for > the reasons you noted: he wanted to automatically populate some > particular fields on every save. Regardless of whether the

Re: Help needed in understanding newforms.

2007-03-01 Thread Malcolm Tredinnick
On Fri, 2007-03-02 at 17:15 +1100, Michael Lake wrote: > Malcolm Tredinnick wrote: [...] > >>Also I'm confused on the save methods. Some exemples use form.save() and > >>others > >>define a save method under the model Class. > > > > They serve slightly different purposes. A model class may

Re: Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Malcolm Tredinnick wrote: > Hi Michael, > > On Fri, 2007-03-02 at 16:08 +1100, Michael Lake wrote: >> Im trying to understand newforms and comparing the newforms docs at >> http://www.djangoproject.com/documentation/newforms/ with "Using djangos >> newforms" at >>

Re: Help needed in understanding newforms.

2007-03-01 Thread Malcolm Tredinnick
Hi Michael, On Fri, 2007-03-02 at 16:08 +1100, Michael Lake wrote: > Hi all > > Im trying to understand newforms and comparing the newforms docs at > http://www.djangoproject.com/documentation/newforms/ with "Using djangos > newforms" at >

Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Hi all Im trying to understand newforms and comparing the newforms docs at http://www.djangoproject.com/documentation/newforms/ with "Using djangos newforms" at http://code.pui.ch/2007/01/07/using-djangos-newforms/ and Mike Cantelon's code at http://www.mikecantelon.com/?q=node/22