On Tue, Feb 18, 2014 at 11:03 AM,  <alois.guill...@gmail.com> wrote:
> Seems great ! I am looking forward reading it.
>
> I have a question about class-based views (hope it's clear enough) :
> I wanted to know when the views are instanciated and when there are garbage
> collected In Django.

The class is instantiated at the start of the request, and destroyed
at the end of the request. Each request has its own instance of the
class.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1LpXG%2BaikDBpaJ1LMMvj%3DL5FoHAnZoPQsFbVRa0ydBPVA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to