Re: Maybe I'm thinking about this wrong

2012-04-12 Thread hari jayaram
Hi Don, Wondering why you dont inherit from just Formview..and define the success URL to a separate class based ListView. It splits it up into two class based views with the Formview taking care of returning the errors on failure. On success it hands off to your Listview based class that knows whi

Maybe I'm thinking about this wrong

2012-04-10 Thread Dom Armstrong
Im not sure if I am going about this the wrong way. Trying to learn class based views *sigh* currently seeming more complicated and less human readable with no less code currently but I expect most people feel that at first. class HomePage(ListView, BaseFormView): template_name = 'index.htm