Re: Class Based FormView - Initial Logic

2011-10-17 Thread Russell Keith-Magee
On Tue, Oct 18, 2011 at 1:57 AM, Kurtis wrote: > Hey, > > I have a FormView and a Form. I want to put in some logic that will > take place before the Form is even displayed. I know I could throw > this in a decorator and wrap the View but there's only a couple of > views

Re: Class Based FormView - Initial Logic

2011-10-17 Thread Andre Terra
Maybe some place inside get(), dispatch() or get_form_kwargs()? Cheers, AT On Mon, Oct 17, 2011 at 3:57 PM, Kurtis wrote: > Hey, > > I have a FormView and a Form. I want to put in some logic that will > take place before the Form is even displayed. I know I could

Class Based FormView - Initial Logic

2011-10-17 Thread Kurtis
Hey, I have a FormView and a Form. I want to put in some logic that will take place before the Form is even displayed. I know I could throw this in a decorator and wrap the View but there's only a couple of views that need this specific functionality and didn't see a need for a whole new