[Zope-dev] bug in ZopePageTemplate.py?

Chris Withers chris at simplistix.co.uk
Fri Nov 9 07:54:44 EST 2007


Hi Guys,

Can you remember why you added the following line to ZopePageTemplate.py?

      content_type = 'text/html'

It seems to arbitarily lock new page templates (or subclasses of them) 
into text/html mode.

MailTemplates subclass ZopePageTemplate and expect to be text/plain by 
default...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list