Closed GoogleCodeExporter closed 9 years ago
Yikes, I looked over the patch I just submitted and realized I'd only done
things
halfway. Here's a better patch.
Original comment by wiley.kestner
on 13 Mar 2009 at 2:34
Attachments:
You are correct the expected output in the second case should include the
prefix.
Original comment by Sle...@gmail.com
on 15 Mar 2009 at 2:20
Any thoughts about the patch? I'm in #django channel now if you want to chat
Original comment by wiley.kestner
on 15 Mar 2009 at 2:22
Original comment by Sle...@gmail.com
on 15 Mar 2009 at 2:22
I have just taken a look at the patch(s)
The updates in the first patch are good and will work well, but the second set
have a
problem with the html_name variable, it will contain stale data.
Original comment by Sle...@gmail.com
on 15 Mar 2009 at 2:36
I've had a dig around in django's form code and I have a solution.
Original comment by Sle...@gmail.com
on 15 Mar 2009 at 2:46
Fix has been committed in revision 41.
Made use of the forms add_prefix method. A small hack was required to support
`equal_to_field` rule. A better solution will require investigation if there
are more
rules that require another form field as a parameter.
Original comment by Sle...@gmail.com
on 15 Mar 2009 at 3:09
Original issue reported on code.google.com by
wiley.kestner
on 13 Mar 2009 at 2:05Attachments: