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,
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
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
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,
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
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,