#14845: Refactor backend connection-creation process ------------------------------------------+--------------------------------- Reporter: Xof | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: 1.3-alpha Keywords: | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- Currently, the actual database connection is created on-demand when a cursor is requested. This is great for standard use, but there are occasional uses where it would be handy to have the connection open before requesting a cursor (for example, if you are doing a raw SQL query using the cursor(cursor_factory=) syntax.
The proposal here is to move the connection-creation mechanism to a separate public method that both the internal cursor-creation mechanism and a client of the connection object could call. -- Ticket URL: <http://code.djangoproject.com/ticket/14845> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.