[Twisted-web] nevow tags and class attribute

Samuel Reynolds sam at SpinwardStars.com
Sun Apr 11 19:05:07 MDT 2004

At 2004-04-10 03:34 PM -0500, you wrote:
>Use a leading underscore to assign something to "class".  Nevow will strip
>that out for you:
>return T.p(_class=paraClass)[...]

Argghhhhh! And all this time I've been doing
    tag = T.p()[...]

I *hate* magical incantations.
Otherwise, I rather like Nevow. :-)

- Sam

Spinward Stars, LLC                        Samuel Reynolds
Software Consulting and Development           303-805-1446
http://SpinwardStars.com/            sam at SpinwardStars.com 

More information about the Twisted-web mailing list