Загрузка страницы

Fetch Data From a Database And Output To A Webpage - Django Wednesdays #5

In this video I'll show you how to fetch data from the database and output it onto a web page with Django and Python.
Our Database model has an Event Class, Venue Class, and MyClubUsers Class; and all three of those models are linked together with foreign keys and manytomany fields. So we can query one (the Event Class) and gain access to all of that information.
In this video we'll create and Events webpage that will query the Event Class of our database and pull out all the current planned Events and output them onto the web page! It's super easy!
Timecodes
0:00​ - Introduction
1:31 - Create an Events Webpage
2:11 - Create a URL Path For Events Page
2:45 - Create a View for Events Page and Query Database
5:00 - Output Events Data To Webpage
5:58 - Add Link To Events Page On Navbar
6:48 - Loop Thru Database Data On Webpage
7:53 - Access All Items In Event Class
10:21 - Access The MyClubUser Class Items
12:44 - Access The Venue Class Items
14:44 - Add Bootstrap Cards to Webpage
18:05 - Conclusion

Видео Fetch Data From a Database And Output To A Webpage - Django Wednesdays #5 канала Codemy.com
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
17 февраля 2021 г. 23:19:17
00:18:42
Яндекс.Метрика