Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django. A good tutorial for Class Based Views [closed]

Tags:

Is there any good tutorial for learn how to use Class Based Generics Views in Django? I think that the documentation is not quite good and i'm a little bit lost when i try to do not usual things with the ListView, DetailView, CreateView, UpdateView and the other ones. I've read the Django documentation , The Django Book and a lot of google search.But i feel that i'm still not comfortable with my knowledges. Thanks

like image 446
azuax Avatar asked Jul 01 '13 22:07

azuax


People also ask

Are class-based views better Django?

Generic class-based views are a great choice to perform all these tasks. It speeds up the development process. Django provides a set of views, mixins, and generic class-based views. Taking the advantage of it you can solve the most common tasks in web development.

What are Django class-based views & should you use them?

A view is a callable which takes a request and returns a response. This can be more than just a function, and Django provides an example of some classes which can be used as views. These allow you to structure your views and reuse code by harnessing inheritance and mixins.

Should I learn Django or Django REST framework?

Simply put, Django is one of the best, most used, and well-liked high-level Python web frameworks out there, thanks to its reliability and continuous improvements. It was designed to save time and provide the infrastructure for creating database-driven sites conveniently and efficiently.


1 Answers

Yes, here are three excellent screencasts by GoDjango:

Part 1

Part 2

Part 3

like image 102
Michael Place Avatar answered Oct 06 '22 01:10

Michael Place