Скачать
Add Blog Categories - Django Blog #12
Автор: Codemy.com
Загружено: 2020-04-27
Просмотров: 44264
Описание:
In this video we'll start to add categories to our blog with Django.
So you've got a blog, but you want to be able to designate a 'category' for each blog post. We'll start out by adding a category field to our Post database model. Then we'll create a whole new model named Category.
This new model will allow us to add, edit, or remove Categories from the blog itself in the future (as opposed to just hard coding in the categories on the backend).
After that we'll modify our forms.py file so that we can designate a category for each new blog post we make.
Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: