[Twisted-Python] another woven question

Justin Johnson justinjohnson at fastmail.fm
Tue Jul 22 14:42:49 MDT 2003


Excellent!  Thank you!

On Tue, 22 Jul 2003 19:18:49 +0000, "Alex Levy" <mesozoic at polynode.com>
said:
> Every template file needs to contain one root element.
> So instead of templateX.html being:
> 
>   <h1>Something</h1>
>   <p>Foo!</p>
>   
> ..you should make it:
> 
>   <div>
>     <h1>Something</h1>
>     <p>Foo!</p>
>   </div>
>  
> Another useful bit of code you may want to use is called ExpandMacro, and
> is
> detailed in a previous post:
> http://www.twistedmatrix.com/pipermail/twisted-python/2003-June/004662.html
> 
> -- 
> Alex Levy
> WWW: http://mesozoic.geecs.org
>  
> "Never let your sense of morals prevent you from doing what is right."
>  -- Salvor Hardin, Isaac Asimov's _Foundation_
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 




More information about the Twisted-Python mailing list