Re: Updating a user/profile model object

2010-01-28 Thread Jonathan Roberts
> You're posting your update to a different view from the one that > initially displays the form. The usual way to do this is to have the > form post back to the same view, but have an 'if request.POST' to > branch the execution. The main forms documentation explains the > standard flow. Ah I did

Re: Updating a user/profile model object

2010-01-27 Thread Daniel Roseman
On Jan 27, 7:42 pm, JonRob wrote: > Hi, > > I'm just starting out learning Django, trying to cut my teeth by > working on a simple website that involves a user profile. > > I've created a ModelForm of the profile model, that instances the > profile of the logged in user, which I then want the user

Updating a user/profile model object

2010-01-27 Thread JonRob
Hi, I'm just starting out learning Django, trying to cut my teeth by working on a simple website that involves a user profile. I've created a ModelForm of the profile model, that instances the profile of the logged in user, which I then want the user to be able to update so that they can update t