Hi!
I'm getting the structure with sqlmeta.fromDatabase = True.
There's a column in the table called en_US, which for some reason
SQLObject tries to access as en_u_s.
1/QueryAll: SHOW COLUMNS FROM locale
Populating from DB.
1/QueryOne: SELECT code, en_u_s, eng, lat, lit, rus, est, comments
This is insane. I cannot put this at the beginning of a larger Python program:
from sqlobject import *
class Transactions(SQLObject):
sqlmeta.fromDatabase = True
_style = MixedCaseStyle()
Because it complains that:
AttributeError: No connection has been defined for this thread
On 4/19/06, Oleg Broytmann [EMAIL PROTECTED] wrote:
On Wed, Apr 19, 2006 at 05:24:56PM +0300, Elver Loho wrote:
class Transactions(SQLObject):
sqlmeta.fromDatabase = True
AttributeError: No connection has been defined for this thread or process
You asked SQLObject to draw
How can I check if the connection in the current thread has idled to
death or not and re-establish it? Can SQLObject do this automatically
somehow?
___
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
On 6/19/06, Oleg Broytmann [EMAIL PROTECTED] wrote:
On Sat, Jun 17, 2006 at 08:36:03PM +0300, Elver Loho wrote:
How can I check if the connection in the current thread has idled to
death or not and re-establish it? Can SQLObject do this automatically
somehow?
Only for those backends
On 31/01/07, Oleg Broytmann [EMAIL PROTECTED] wrote:
On Wed, Jan 31, 2007 at 03:07:34PM +0200, Elver Loho wrote:
class FriendRequest(SQLObject):
requester = ForeignKey(User, dbName = requester_id)
requested = ForeignKey(User, dbName = requested_id)
elver = get_user(elver)
requests