Re: Problems with excluding user-field from form

2009-05-26 Thread Martin
> If you intend your form to save changes to an existing object, you > must pass that object in as 'instance' when creating the form. Thank you very much. You were right, I forgot to add the instance object. --~--~-~--~~~---~--~~ You received this message because

Re: Problems with excluding user-field from form

2009-05-24 Thread Sam Chuparkoff
On May 24, 5:49 pm, Martin wrote: > Hi, > > I'm struggling with a simple edit-form. My model has a user-FK and > authenticated users can 'create' objects of this model with a form. > Pretty simple. They should be able to edit these objects later, but of > course not change the value of the user-f

Problems with excluding user-field from form

2009-05-24 Thread Martin
Hi, I'm struggling with a simple edit-form. My model has a user-FK and authenticated users can 'create' objects of this model with a form. Pretty simple. They should be able to edit these objects later, but of course not change the value of the user-field. So I excluded the 'User'-field in my Mod