Displaying data in generic views [20 of 24] | Django for Beginners

preview_player
Показать описание
Displaying data is a common operation within data driven websites and Django provides a handy development experience with generic views. In this video we will demonstrate how to implement ListView to display all items and DetailView to view the details of one item.

Useful Links:
Рекомендации по теме
Комментарии
Автор

It's jarring when every other video walks through the code creation, and then this one says "here it is, try and figure it out". No real explanation of what the <int:pk> does in the path. If you are going to make a beginner tutorial, make a beginner tutorial. Take the time and do it right.

ovven
Автор

There is a difference between this video and the last. Moving from functions to classes for views should be better explained.

joelwitherspoon
Автор

Am I missing a video or something? this went from 0 to 100 out of no where

quangpham
Автор

This video was good about showing the route from backend to frontend for sure... my question, as a noob is. How do we add the other destination to the model? There should be video that goes step-by-step building the destinations. The only destination I have after following the videos is Mars :(. And I think it's a one way trip. haha.

SemperFiGuy_
Автор

Hi, I know a little English and the course was going well until this section, I didn't really understand anything, but thank you very much for the course.

jhonix
Автор

Your terminology is misleading. It's already a bit confusing to a Django newcomer to learn that "views" are actually "controllers" (in the traditional MVC sense), so referring to your UI as a "view" is just muddying the waters further, unfortunately. The data was sourced FROM a list/detail view.

kicknotes