Re: View to edit many-to-many relationship with extra fields

2010-10-02 Thread ses1984
Actually, I have added on to what I started with significantly, and what I ended up doing was emulating formsets with javascript on the page. When the page POSTs, I can get cleaned formset data from the request. On Oct 2, 8:11 am, Felix Dreissig wrote: > I'm not at all sure that this might help y

Re: View to edit many-to-many relationship with extra fields

2010-10-02 Thread Felix Dreissig
I'm not at all sure that this might help youm, so sorry if I write BS... Can't you just use form prefixes to kepp the form namespaces seperated? http://docs.djangoproject.com/en/1.2/ref/forms/api/#prefixes-for-forms Regards, Felix On 01.10.2010 22:22, ses1984 wrote: > http://docs.djangoproject.

View to edit many-to-many relationship with extra fields

2010-10-01 Thread ses1984
http://docs.djangoproject.com/en/1.2/topics/db/models/#extra-fields-on-many-to-many-relationships I have two models with a many-to-many relationship through another table with extra fields. In this case, I have one extra field which represents the weight of the relationship. I'm working on a view