Digging Up Django Class-based Views

66 views
Skip to first unread message

Leonardo Giordani

unread,
Feb 14, 2014, 8:11:43 AM2/14/14
to django...@googlegroups.com
Hi all,

the third issue of the small series "Digging Up Django Class-based Views" is out.
This latest post is about form views.

I hope you will find it interesting and useful.

Cheers,

Leo


Leonardo Giordani
Author of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile

Frankline

unread,
Feb 16, 2014, 11:23:37 PM2/16/14
to django...@googlegroups.com
Hi Leo,

I have struggled to understand CBVs before and avoided using them most of the time. I looked into your posts and it has been very useful. Written in clear simple English. Now I can't wait to use them in my current and next projects. 

:-)

Thank you.

Frank


--
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...@googlegroups.com.
To post to this group, send email to django...@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/CAEhE%2BO%3Db8ApXRSwLEmMXf%3D_XMtRDv78uZO-SMr1jzcUQuYsqjw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Leonardo Giordani

unread,
Feb 17, 2014, 6:32:04 AM2/17/14
to django...@googlegroups.com
You are welcome! I'm glad to know that it was useful. I hope to post soon some tips with real world examples.

Cheers,

Leo

Leonardo Giordani
Author of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile


alois.g...@gmail.com

unread,
Feb 18, 2014, 6:03:57 AM2/18/14
to django...@googlegroups.com
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.

Thanks,

Alois

Tom Evans

unread,
Feb 18, 2014, 8:00:12 AM2/18/14
to django...@googlegroups.com
On Tue, Feb 18, 2014 at 11:03 AM, <alois.g...@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

alois.g...@gmail.com

unread,
Feb 18, 2014, 8:19:28 AM2/18/14
to django...@googlegroups.com
Ok thanks!



On Friday, February 14, 2014 2:11:43 PM UTC+1, Leo wrote:
Reply all
Reply to author
Forward
0 new messages