Bound forms and file-/imagefields

2010-01-30 Thread Stefan Nitsche
ing some troubles putting this into words (the fact that English isn't my primary language doesn't help). If I'm unclear please don't hesitate to ask for clarification. -- Stefan Nitsche ste...@nitsche.se -- You received this message because you are subscribed to t

Re: Models, forms and inlineformset

2010-01-30 Thread Stefan Nitsche
On Sat, Jan 30, 2010 at 11:23, andreas schmid wrote: > Stefan Nitsche wrote: > > > > > > On Thu, Jan 28, 2010 at 10:15, andreas schmid > <mailto:a.schmi...@gmail.com>> wrote: > > > > and your form works on edit too? > > i really cant un

Re: Models, forms and inlineformset

2010-01-29 Thread Stefan Nitsche
On Thu, Jan 28, 2010 at 10:15, andreas schmid wrote: > and your form works on edit too? > i really cant understand why mine isnt... > > its giving me this MultiValueDictKeyError which i dont understand. > > Stefan Nitsche wrote: > > On Wed, Jan 27, 2010

Re: Models, forms and inlineformset

2010-01-27 Thread Stefan Nitsche
Exception Type: MultiValueDictKeyError >Exception Value: > >Key 'activity_set-0-id' not found in {u'activity_set-0-name': [u'a\xf6lskjdf\xf6sa'], u'activity_set-0-type': > [u'research'] > > on save... any hints? &

Re: Models, forms and inlineformset

2010-01-23 Thread Stefan Nitsche
On Mon, Jan 4, 2010 at 23:27, Stefan Nitsche wrote: > Hi, > > to begin with I would like to declare that I'm still on the beginner end of > the scale when it comes to Python and Django. > > I have an app which has two models: > > class Item(models.Model): &

Models, forms and inlineformset

2010-01-04 Thread Stefan Nitsche
d it correctly when using inlineformset_factory I must give it an instance so that it can map the foreignkey, correct? So how do one go about and create a form where people can add "item" and "itemimages" at the same time? I'm feeling totaly lost any pointers would be greatly appreciat