I've recently had to add a way for us to access custom SQL for some
really off the wall queries we need to run for reports...
def getReportDBCursor():
from django.db import connection
return connection.cursor()
Do I need to close the connection after I'm done with the results?
I've also recently started receiving 'too many connections' errors...
and thought this might be the reason?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---