> 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
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
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
3 matches
Mail list logo