I fixed the rudimentary old newthread function to a better maintainable one.
It took me a long time to discover how to do that, but reading
documentation and other people's code I realized that forms can have a
"prefix" argument.
I've split the big form in 3 independent partialforms which use the
existing models.
By the way I fixed one error that caused the rendering template to fail in
"newthread.html".
I generated the patch with "git diff" because I don't use svn. Anyways I
think that the result file is the same than if I did it with "svn diff".
Greetings from Spain,
Rafa Muñoz Cárdenas.
Original issue reported on code.google.com by byme...@gmail.com on 28 Sep 2009 at 2:48
Original issue reported on code.google.com by
byme...@gmail.com
on 28 Sep 2009 at 2:48Attachments: