• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

Django Tutorial for Beginners 29 Generic Views скачать в хорошем качестве

Django Tutorial for Beginners 29 Generic Views 9 лет назад

скачать видео

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Django Tutorial for Beginners   29   Generic Views
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: Django Tutorial for Beginners 29 Generic Views в качестве 4k

У нас вы можете посмотреть бесплатно Django Tutorial for Beginners 29 Generic Views или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

  • Информация по загрузке:

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон Django Tutorial for Beginners 29 Generic Views в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



Django Tutorial for Beginners 29 Generic Views

More intensive courses : http://grow-book.blogspot.com/ Abstract video content alright guys welcome back in this video I want to talk to you guys about generic views so first let me explain what they are so basically whenever you make a website or go to website you're going to notice that all the websites that you go to kind of have the same pattern they either display a list of objects or they have details about one object to different pages so if you think about our website like youtube whenever you search for video it just has a list of all the videos that you can scroll through and find your video and then when you click one it has details about that video of course the player and all the comments in related videos whatever so what about all know web site like Facebook well on your newsfeed has a list of everyones post and then you can click either you know someone's profile or picture or something and then has details about the object so again it all comes down to two things a list of objects in details about one single object so I'm sure no matter what website you think of they always have the same patterns now on our website that we're making right now we're kind of doing the same thing the homepage is just a list of all over albums and it's going to be the cover photo and you know the artist stuff later on whenever we design it properly but it's basically a list of all of our albums then whenever we click one there's details about that individual item so the album logo and all the songs tomato tomahto so since django realize that people were just creating the same patterns over and over and over again why not help him out and speed up the process a little bit so just a heads-up before this tutorial I pretty much clean out everything in the index HTML in details HTML and I got rid of all the favoriting form because that's not the proper way to actually favorite songs that was just a little example so i pretty much stripped everything down except you know just displaying the bare basics like on the album name and you know the song titles in tomato tomahto so there you go just want to give you guys a heads up so now with that being said i'm actually going to go ahead and delete this so just go ahead and delete everything to do with favorites and actually let me go ahead and delete every sick thing inside views and I know you guys are extreme bike oh my god what are you doing we spent like 20 tutorials learn about those everything Hitler is deleted guys I promise like I said you get guys are gonna love me after this so instead of the way we've been making views before which are basically functions what we're going to do now is we're going to make something called a generic views so from Django . views import generic now we also need to import albums still from models and for album art so in this tutorial I'm just going to make two generic views oh sorry a black long alright so the first one is just going to be a list generically which is going to list all over elbows and the second one is going to be a detail generic view which is going to give us details about that individual album so it's going to be the exact same as before to the user but we're gonna Ray a lot less code so how do we make a generic view well instead of functions we actually use classes so for the home page since it's the next page i'm just going to say index view now the type of you we use we actually inherited so there are a couple different types of course in the strong and be teaching you guys about the list generic for you and also the detail generic for you i remember on the index page is just a list of all of our albums so we're actually going to inherit from generic list view all right so what we need to do now is the first thing we need to specify is what template were using so over in templates index.html of course we're using index HTML to display the album's so I'm just going to go ahead and write template name and set this equal to music / index.html so that just says whenever we get a list of all the albums plug them into this template right here pretty easy now there's only one other thing that we need to make in here and that is a query set function so basically we're going to say we're going to make a function called get query set and all this is going to do is we're going to query the database for whatever albums we want and in this example we'll just go ahead and get all of them so return album objects all guys you know what this is actually it this is all you need to do for this generic view now before i run this actually need to complete the rest of this code so that's all we need to do for the home page and let's go ahead and make the details vi ...

Comments
  • Мы стоим на пороге нового конфликта! Что нас ждет дальше? Андрей Безруков про США, Россию и кризис 7 дней назад
    Мы стоим на пороге нового конфликта! Что нас ждет дальше? Андрей Безруков про США, Россию и кризис
    Опубликовано: 7 дней назад
  • Если у тебя спросили «Как твои дела?» — НЕ ГОВОРИ! Ты теряешь свою силу | Еврейская мудрость 2 месяца назад
    Если у тебя спросили «Как твои дела?» — НЕ ГОВОРИ! Ты теряешь свою силу | Еврейская мудрость
    Опубликовано: 2 месяца назад
  • Самое масштабное обновление Deno Deploy за всю историю. 5 дней назад
    Самое масштабное обновление Deno Deploy за всю историю.
    Опубликовано: 5 дней назад
  • We're All Addicted To Claude Code 2 дня назад
    We're All Addicted To Claude Code
    Опубликовано: 2 дня назад
  • Почему 100 лет в электропоездах применяли не самый лучший двигатель? #энерголикбез 8 дней назад
    Почему 100 лет в электропоездах применяли не самый лучший двигатель? #энерголикбез
    Опубликовано: 8 дней назад
  • КАК Япония Незаметно СТАЛА Мировой Станкостроительной ДЕРЖАВОЙ! 8 дней назад
    КАК Япония Незаметно СТАЛА Мировой Станкостроительной ДЕРЖАВОЙ!
    Опубликовано: 8 дней назад
  • Мне 73. Я жалею, что понял это только сейчас. 4 недели назад
    Мне 73. Я жалею, что понял это только сейчас.
    Опубликовано: 4 недели назад
  • Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #19 #fail #construction 13 часов назад
    Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #19 #fail #construction
    Опубликовано: 13 часов назад
  • Как на самом деле работают адвокаты в России | Суд и уголовные дела изнутри 7 дней назад
    Как на самом деле работают адвокаты в России | Суд и уголовные дела изнутри
    Опубликовано: 7 дней назад
  • RabbitMQ: Полный гайд для разработчика (2026) 9 дней назад
    RabbitMQ: Полный гайд для разработчика (2026)
    Опубликовано: 9 дней назад
  • Открытый разбор олимпиады Трансляция закончилась 7 дней назад
    Открытый разбор олимпиады "ОММО-2026"
    Опубликовано: Трансляция закончилась 7 дней назад
  • Почему Ядерная война уже началась (А вы не заметили) 8 дней назад
    Почему Ядерная война уже началась (А вы не заметили)
    Опубликовано: 8 дней назад
  • КАК ЗАЩИТИТЬ ЗАМОК ОТ ВСКРЫТИЯ/#инженер +380683803449 8 дней назад
    КАК ЗАЩИТИТЬ ЗАМОК ОТ ВСКРЫТИЯ/#инженер +380683803449
    Опубликовано: 8 дней назад
  • WIELKA WYPRAWA MARII WIERNIKOWSKIEJ W GŁĄB ROSJI #1 4 дня назад
    WIELKA WYPRAWA MARII WIERNIKOWSKIEJ W GŁĄB ROSJI #1
    Опубликовано: 4 дня назад
  • Мир по Трампу: что теряет Путин - и что ждет Украину? | Хармс, Филиппенко, Стратиевский Трансляция закончилась 3 недели назад
    Мир по Трампу: что теряет Путин - и что ждет Украину? | Хармс, Филиппенко, Стратиевский
    Опубликовано: Трансляция закончилась 3 недели назад
  • Запись Потоков Данных в Базу Данных в Реальном Времени | Fetch Data | Объекты в Программировании 8 месяцев назад
    Запись Потоков Данных в Базу Данных в Реальном Времени | Fetch Data | Объекты в Программировании
    Опубликовано: 8 месяцев назад
  • Для Чего РЕАЛЬНО Нужен был ГОРБ Boeing 747? 3 месяца назад
    Для Чего РЕАЛЬНО Нужен был ГОРБ Boeing 747?
    Опубликовано: 3 месяца назад
  • Арестович: Почему Трамп не может добиться перемирия? Сбор для военных👇 Трансляция закончилась 6 дней назад
    Арестович: Почему Трамп не может добиться перемирия? Сбор для военных👇
    Опубликовано: Трансляция закончилась 6 дней назад
  • Почему Польша купила тысячу корейских танков вместо Абрамсов и Леопардов? 10 дней назад
    Почему Польша купила тысячу корейских танков вместо Абрамсов и Леопардов?
    Опубликовано: 10 дней назад
  • RθJA — главная ловушка: как правильно считать температуру кристалла 8 дней назад
    RθJA — главная ловушка: как правильно считать температуру кристалла
    Опубликовано: 8 дней назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5