Hi guys, I´m using the newforms-admin branch and I have one thing to note about modelforms. I used a revision (I can´t tell what) and to instanciate the form I need to do:
edit_form = ModelForm(request.POST, instance=instance_object) create_form = ModelForm(request.POST) Now the revision changed to: edit_form = ModelForm(instance_object, request.POST) create_form = ModelForm(Instance(), request.POST) I don´t want to be the boring but, why I need to specify instance as the first argument? Isn´t the form related to the model? I liked the older method, so I can set the instance to none and spend less lines ;) Thanks and congratulations about the good work, Happy new year! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---