[ZPT] Making ZPT usuable outside Zope
Chris Withers
chris at simplistix.co.uk
Mon Aug 23 06:35:19 EDT 2004
Richard Jones wrote:
>>>> 2. implemented ustr as str (removes import from DocumentTemplate)
>>
>>Not sure, what "ustr" is -- but probably not "str"...
>
> See DocumentTemplate/ustr.py
>
> "ustr = str" works for my purposes.
urg! What a horrible little function :-/ That aside, why does it live in
DocumentTemplate?
> Again, it was easier to just remove the code that move around all the imports.
> It should be possible to just move around the imports.
Although if the stuff can safely "just go", I think ending up with
simpler code that relies on fewer external packages is better :-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the ZPT
mailing list