Re: pylons with chameleon?

2009-09-21 Thread ubunoon
create a template object, which attach to app_globals in config/envrionment.py, then create a render function, using pylons_globals() and cached_template() functions, all after, add it to app_globals to render the template by using template lookup method. 2009/9/20 Iain Duncan

Form validator with dependency

2009-09-21 Thread edgarsmolow
Hi Everyone: I have an HTML form that I'd like to validate using formencode, if possible. The form has three main options represented by radio buttons. If one of those options is selected, there are four sub- options to choose from, represented by checkboxes. For example, suppose the three

Re: Form validator with dependency

2009-09-21 Thread Mike Orr
On Mon, Sep 21, 2009 at 11:11 AM, edgarsmolow edgarsmo...@gmail.com wrote: Hi Everyone: I have an HTML form that I'd like to validate using formencode, if possible.  The form has three main options represented by radio buttons.  If one of those options is selected, there are four sub-

Always get new Beaker Sessions with SQLAlchemy

2009-09-21 Thread Randy Syring
I have been using the dbm approach to sessions and recently wanted to transfer to having the sessions stored in a table in the DB. I have beaker setup at least partially correctly, because I am seeing new sessions getting created in the postgresql table. However, each time I refresh the page, I

Re: cron Paster Command

2009-09-21 Thread Ian Bicking
There's also a paster request command that is GREAT for cron jobs. GREAT! On Fri, Sep 18, 2009 at 3:52 PM, Raoul Snyman raoul.sny...@gmail.comwrote: Hi guys, I've recently been investigating how to run cron jobs for my Pylons applications, and followed the example I found on the wiki by