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
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
2 matches
Mail list logo