Re: [pypefitters discussion] Re: WSGI at PyCon

2010-02-20 Thread Graham Dumpleton
On 20 February 2010 15:53, Mike Orr wrote: >  - ``mod_wsgi`` has, and ``CherryPy`` will have, options to handle > the headers in multiple ways (bytestrings vs Unicode), so that they'll > work with whatever the final spec is (or whatever the user wants). No, mod_wsgi 3.X does not have any options

Re: jQuery and Pylons

2010-02-20 Thread Jonathan Vanasco
1- there's an html base attribute -- that might help 2- on all my projects, i tend to do something like this: g.cdn is blank by default, but if i need to switch to simplecdn/ amazons3/etc... i can in a heartbeat 3- in my /public file, i basically only have things like _img , _js , _css.

Re: Pylons and images from database

2010-02-20 Thread Jonathan Vanasco
On Feb 20, 4:59 pm, Wyatt Baldwin wrote: > I thought this was generally not recommended and that you should > instead store the files on the file system with just the paths to the > files in the database. That would be correct. -- You received this message because you are subscribed to the Go

Re: Pylons and images from database

2010-02-20 Thread Wyatt Baldwin
On Feb 20, 12:26 pm, gazza wrote: > Hello, > > I would like to store images (.jpeg etc) within a table in my > database? > What is the best way I can accomplish this in pylons? I thought this was generally not recommended and that you should instead store the files on the file system with just th

Re: how to make formencode validate conditionally

2010-02-20 Thread Mariano Mara
Excerpts from Ian Wilson's message of Sat Feb 20 05:52:10 -0300 2010: > Hello hello, > > You probably want to create a chained form validator. Then apply the > validators to the combo fields manually depending on if your checkbox > is True or False. There are other ways to do this but I've creat

Pylons and images from database

2010-02-20 Thread gazza
Hello, I would like to store images (.jpeg etc) within a table in my database? What is the best way I can accomplish this in pylons? Much appreciated, Garyc -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to

Re: jQuery and Pylons

2010-02-20 Thread writeson
Thanks to everyone for the replies, all very helpful. I'll investigate them and see what works best for our application. I'm getting my head around the routes thing, so that appeals to me. :) Thanks again, Doug On Jan 8, 12:49 pm, writeson wrote: > Eric, > > Thanks for the reply. Depending on ho

Re: how to make formencode validate conditionally

2010-02-20 Thread Ian Wilson
Hello hello, You probably want to create a chained form validator. Then apply the validators to the combo fields manually depending on if your checkbox is True or False. There are other ways to do this but I've created a pastie of one. You can mess around and see if it fits what you need. http