Pylons + plain DB-API

2006-08-01 Thread Alagu Madhu
Hi, Thoughts? Thanks, Alagu Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group,

Re: Pylons + plain DB-API

2006-08-01 Thread Nicholas Piël
Hi, Got more info? Thanks, Nicholas Piël --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this

Re: Pylons + plain DB-API

2006-08-01 Thread Alagu Madhu
Hello, I like to use plain DB-API (psycopg) in pylons. idea's or example. Thanks, alagu madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: Pylons + plain DB-API

2006-08-01 Thread Jamie Wilkinson
This one time, at band camp, Alagu Madhu wrote: Hello, I like to use plain DB-API (psycopg) in pylons. idea's or example. Sounds achievable. Either connect to the database once per connection in lib/base.py:BaseController.__before__, or at application setup in, er,

Re: Pylons + plain DB-API

2006-08-01 Thread Jose Galvez
I can tell you the way I did it. I created a database file in the models folder that contained functions for all my sql statements. So basically for every sql thing I wanted to do I created a function. I then created a function to return a connection object which I then passed to each function

Pylons + plain DB-API

2006-07-30 Thread Alagu Madhu
Hi, Thoughts ? Thanks, Alagu Madhu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group,