Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Default doctype in Chameleon

Received: by 10.68.130.100 with SMTP id od4mr1293359pbb.2.1335822271230;
        Mon, 30 Apr 2012 14:44:31 -0700 (PDT)
X-BeenThere: pylons-discuss@googlegroups.com
Received: by 10.68.242.40 with SMTP id wn8ls10777264pbc.1.gmail; Mon, 30 Apr
 2012 14:44:28 -0700 (PDT)
Received: by 10.68.195.33 with SMTP id ib1mr459822pbc.18.1335822268221;
        Mon, 30 Apr 2012 14:44:28 -0700 (PDT)
Date: Mon, 30 Apr 2012 14:44:27 -0700 (PDT)
From: Theron Luhn <the...@luhn.com>
To: pylons-discuss@googlegroups.com
Message-ID: <26791647.408.1335822267558.JavaMail.geo-discussion-forums@pbnh4>
Subject: Default doctype in Chameleon
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_406_4903068.1335822267554"

------=_Part_406_4903068.1335822267554
Content-Type: multipart/alternative; 
	boundary="----=_Part_407_5705468.1335822267557"

------=_Part_407_5705468.1335822267557
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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?

------=_Part_407_5705468.1335822267557
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

I want to specify a default doctype in Chameleon.  Google told me this is how to do it:<br><br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">In Chameleon you can provide a ``doctype`` keyword argument to the<br> template constructor which will act as a default doctype. </blockquote><br>How do I do that in Pyramid?<br>
------=_Part_407_5705468.1335822267557--

------=_Part_406_4903068.1335822267554--