[Twisted-web] Passing context through/around/across webform

Tommi Virtanen tv at twistedmatrix.com
Tue Oct 19 10:27:57 MDT 2004


James Y Knight wrote:
> Here's my horribly hacked up copy of Choice that works for what I need. 
> The changes from the normal Choice are that choicesAttribute is really 
> choicesMethod, and that it's supposed to return a list of (id, text), 

Sounds like you should use dict instead of a list. Otherwise there could
be duplicate ids.



More information about the Twisted-web mailing list