Re: [pylons-discuss] need guidance for Pyramid, Jinja2, deform combination

2015-11-22 Thread Krishnakant Mane
Thanks Jeff,
Can you give me an example of how you do this?
Happy hacking.
Krishnakant.

On 21/11/2015, Jeff Dairiki  wrote:
> On Fri, Nov 13, 2015 at 4:40 AM, kk  wrote:
>
>> I guess I said all in my subject line.
>> I would love if I can have templates in jinja2 and use deform library
>> together with Pyramid.
>
>
> I do this. It "just works."  The stock templates which come with deform are
> Chameleon, not Jinja2, but it doesn't matter.  Deform, using its chameleon
> templates, produces HTML markup for the form.  This can be interpolated
> into a Jinja2 template without issue.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


Re: [pylons-discuss] need guidance for Pyramid, Jinja2, deform combination

2015-11-22 Thread Laurent DAVERIO
Hi Krishnakant,

as Jeff pointed out, there's nothing special to do, it just works. Just
include the rendered form in your Jinja2 template.

Laurent.


Le 22/11/2015 09:46, Krishnakant Mane a écrit :
> Thanks Jeff,
> Can you give me an example of how you do this?
> Happy hacking.
> Krishnakant.
> 
> On 21/11/2015, Jeff Dairiki  wrote:
>> On Fri, Nov 13, 2015 at 4:40 AM, kk  wrote:
>>
>>> I guess I said all in my subject line.
>>> I would love if I can have templates in jinja2 and use deform library
>>> together with Pyramid.
>>
>>
>> I do this. It "just works."  The stock templates which come with deform are
>> Chameleon, not Jinja2, but it doesn't matter.  Deform, using its chameleon
>> templates, produces HTML markup for the form.  This can be interpolated
>> into a Jinja2 template without issue.
>>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


Re: [pylons-discuss] need guidance for Pyramid, Jinja2, deform combination

2015-11-20 Thread Jeff Dairiki
On Fri, Nov 13, 2015 at 4:40 AM, kk  wrote:

> I guess I said all in my subject line.
> I would love if I can have templates in jinja2 and use deform library
> together with Pyramid.


I do this. It "just works."  The stock templates which come with deform are
Chameleon, not Jinja2, but it doesn't matter.  Deform, using its chameleon
templates, produces HTML markup for the form.  This can be interpolated
into a Jinja2 template without issue.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.


[pylons-discuss] need guidance for Pyramid, Jinja2, deform combination

2015-11-13 Thread kk

I guess I said all in my subject line.
I would love if I can have templates in jinja2 and use deform library 
together with Pyramid.
Basically I use Eclipse for my programming and I have found out a way to 
use Jinja2 (actually the django templating syntax is almost 99% similar ).
I liked deform because it does have support for bootstrap or jquery as I 
understand.

So would love to combine this with Pyramid.
Any experience, any pointers or tips?
Happy hacking.
Krishnakant.


--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.