Diff is simple : UpdateView is using for changing already created object. CreateView is using for creating new object. I have few simpleast class for your request. But I have not commented yet.
Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Jan 6, 2015 at 3:49 PM, Brad Rice <bradri...@gmail.com> wrote: > Does anyone have a recommendation for intermediate reading to understand > Class Based Views? It seems most of the Django books were written when > function based views were prevalent. I'm still having trouble understanding > what the differences are between CreateView and UpdateView and what Meta is > as well as slug_field and pk. Perhaps my issue is understanding Object > oriented python? I wish there were some tutorials or cookbooks that offer > better understanding. > > -- > 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/7fac53a2-7ff6-488f-903f-ed46edf15deb%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/7fac53a2-7ff6-488f-903f-ed46edf15deb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CADTRxJM1Y9DGN-w1-rmZe0_mLd%3Du1OFaQF9iW1NvGMaZ%3DChCXg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.