Re: FormMixin missing method

2011-07-11 Thread Andre Terra
Hey, Lior Would you mind giving us an example of what you mean by setting up the instance, and why that part of the code should live in the view? It doesn't have to be production-quality code, just an example of the concept you have in mind. Cheers, André On Sat, Jul 9, 2011 at 5:18 PM, Lior

FormMixin missing method

2011-07-09 Thread Lior Sion
Hi, Wanted to run this by you before I raise the suggestion in django- development: the core generic class FormMixin has some methods that allow to set a form: get_initial, get_form_kwargs and so on. However, it's missing a method to set up the instance (which has some uses) - should it be added?