Hello. I want to create a catch-all python script, that gets called
for any file request in a certain directory. I thought this apache
setup would do it, but it doesn't:
SetHandler mod_python
PythonHandler handler
PythonDebug On
Options -MultiViews -Indexes
Fo
No - I want autoCommit to be false. It defaults to true. SQLObject's
documentation says to leave the value blank for false, and to specify
any non-blank value for true.
Is the SQLObject documentation wrong? Should I specify autoCommit=0?
--
http://mail.python.org/mailman/listinfo/python-list
Hello. Does SQLObject provide connection pooling? If so, is it
automatic or do I have to do something to manage it? If not, how do
people generally solve this problem?
Thanks for any help.
- Jake
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to connect to a mysql database, with autoCommit and caching
off, and I'm trying to create a transaction. Why does this blow up?
>>> from sqlobject import *
>>> connectionString = 'mysql://[EMAIL
>>> PROTECTED]/mc_image_library_dev?cache=&autoCommit='
>>> connection = connectionForURI
I'm trying to implement a file upload using vampire on top of
mod_python, using vampire's publisher. My form has an input that looks
like:
and in ImageAdmin.py I define the uploadFile function:
def uploadFile (req, uploadFile=None):
# etc.
the problem is that when this function is call
Hello. I'm trying to wrap a function call in a transaction, but when I
intentionally throw an exception in the middle of the function it
doesn't actually roll back the transaction. The debug output says
1/ROLLBACK, without any 1/COMMITs in there, but when I view the data in
the command-line mysql