[newforms-admin]: bug in formset_for_form?

2007-10-17 Thread Tobias Bender
Hi. I have a formset with only one form. The user can press a button the get an additional form. I then raise form-prefix-COUNT by 1 and send the formset with the users already entered data back. This is where the error occurs. One of the returned forms (containing the entered data) is ok:

newforms subclassing

2007-10-15 Thread Tobias Bender
Hi. I have tried something like that: class MyForm(form_for_model(Model_A), form_for_model(Model_B)): ... myform = MyForm() but the resulting myform.as_table() contains the fields which are from form_for_model(Model_A) only. When changing the class MyForm to class MyForm(form_for_model(Mode