On 12/08/2010 11:24am, Andy wrote:
When I create an object in Django, how long does it live?
When Django finishes responding to a HTTP request, the Python process
lives on to serve the next request. Does that mean all those objects
that were created would continue to hang around?
No. As soon as all references to an object are gone, the object is
automatically garbage collected.
I think however that the web server might hang on to processes according
to keep-alive settings.
Mike
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.