Wednesday, March 30, 2011

 for different databases the query could be formatted as
I cannot understand the get argument but may be if you give it a try with a suitable args."using" differentiates between databases.

For the first problem;
   may be if you get the cursor to the connection you want to keep open and execute sql commands directly on it.This can be done as

from django.db import connections
cursor=connection["your_db_alias used in settings"].cursor()

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment