On 04/30/2012 05:44 PM, Theron Luhn wrote:
I want to specify a default doctype in Chameleon. Google told me this is
how to do it:

    In Chameleon you can provide a ``doctype`` keyword argument to the
    template constructor which will act as a default doctype.


How do I do that in Pyramid?

Afraid the Pyramid renderer associated with chameleon templates doesn't provide a way to set this value. At the moment, you'd have to create your own renderer as per <http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/renderers.html#adding-and-changing-renderers>

- C

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to