Sunday, July 10, 2011

something about django mysql database long connection

hi,
Now, i am doing a django project, and use models to do all operation
about data in mysql db.

and i think that it would connect to database whenever do some
operation like 'XXX.objects.all()' , may be it would cast much of
resource on database connection. So i need a connection never being
desconnected.

Does django has this function? And how to do for it??

thank you
rgs,
he

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate