[SQLObject] MySQLConnection is deprecated
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Nigel K. <Ki...@di...> - 2004-11-01 16:27:28
|
Hi, I get the following warning on my MySQLConnection /usr/local/lib/python2.3/site-packages/sqlobject/__init__.py:23: DeprecationWarning: MySQLConnection is deprecated; use connectionForURI("mysql://...") or "from sqlobject.mysql import builder; MySQLConnection = builder()" _warn('MySQLConnection is deprecated; use connectionForURI("mysql://...") or "from sqlobject.mysql import builder; MySQLConnection = builder()"') In the manual it says to use conn = MySQLConnection(user='test', db='testdb') which is the method I use. What is actually intended? Nigel King |