Python Django Tutorials: Full-Featured Web App EP8 - Blog Categories, Tags, and Advanced Queries
Автор: Byron Codes
Загружено: 2024-12-11
Просмотров: 142
Описание:
In this episode, we continue building our Django web application by enhancing the blog functionality.
Learn how to filter blogs by categories using a CategoryListView and display blogs authored by a user with UserBlogListView.
We also add tags to our blogs using the django-taggit library, and utilize advanced Django ORM methods like annotate, Sum, and Count.
This is a GYM management web app that will enable members to enroll in our gym, manage their subscriptions, and allow admins to collect revenue. We'll also include a Blog feature that will enable admins and select users to post blog posts.
Code for this EP:
https://github.com/MandelaByron/Djang...
Snippets:
https://github.com/MandelaByron/djang...
STATIC files template code:
https://github.com/MandelaByron/gymli...
✅You can support the channel by Buying Me a Coffee here - https://bit.ly/3AAOXbW
0:00 Intro
0:42 Categories
1:24 Count
5:20 django-taggit
9:00 Tags many-to-many relationship
13:39 Sum
17:25 BlogCategoryListView
20:57 UserBlogListView
#django #programming #coding #python
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: