[pylons-discuss] Re: Issues of Pyramid

2014-09-07 Thread wilk
On 06-09-2014, Steve Piercy wrote: I agree that the distinction between the two lists is not very clear and it could be better. Here are a couple of things to note. Compare descriptions. https://groups.google.com/forum/#!aboutgroup/pylons-discuss

Re: [pylons-discuss] setup.py's requires vs development.ini's pyramid.includes vs __init__.py's config.include

2014-09-07 Thread pyramidX
In what cases would you add something you've put in setup.py into one of pyramid.includes or config.include()? I see that my sample applications work fine even though some of the things specified in setup.py haven't been 'included' (relatively new to Python). On Saturday, September 6, 2014

Re: [pylons-discuss] setup.py's requires vs development.ini's pyramid.includes vs __init__.py's config.include

2014-09-07 Thread Wichert Akkerman
On 07 Sep 2014, at 13:07, pyramidX veerukrish...@hotmail.com wrote: In what cases would you add something you've put in setup.py into one of pyramid.includes or config.include()? I see that my sample applications work fine even though some of the things specified in setup.py haven't been

[pylons-discuss] passing an image to a template in pylons dynamically

2014-09-07 Thread 'gazza' via pylons-discuss
Hello, I would like to pass an image to a template dynamically to avoid any file writes. I convert the image to a StringIO and get the value. I wanted to pass that into a context object and simply display it like below: image src='$c.imageobject'/ Having a royal time on doing this and

Re: [pylons-discuss] passing an image to a template in pylons dynamically

2014-09-07 Thread Laurent DAVERIO
Le 07/09/2014 17:42, 'gazza' via pylons-discuss a écrit : Hello, I would like to pass an image to a template dynamically to avoid any file writes. I convert the image to a StringIO and get the value. I wanted to pass that into a context object and simply display it like below: image

Re: [pylons-discuss] passing an image to a template in pylons dynamically

2014-09-07 Thread 'gazza' via pylons-discuss
Yes thats the way I went with this make it inline and base64 encoded. All good. Really appreciate the direction on this. Thanks, Gazza On Sunday, September 7, 2014 8:57:02 AM UTC-7, Eldav wrote: Le 07/09/2014 17:42, 'gazza' via pylons-discuss a écrit : Hello, I would like to pass