Django-Taggit - Adding Tags to Django Models
This video will dive into the django-taggit library, which is used to add tags to Django models. Tagging is a common feature in webapps with dynamic content! We'll see how to install django-taggit, and integrate with Django models and admin in this video. We'll also use TailwindCSS to add basic styles to a page that shows our tags and models. In the next video, we'll add a feature allowing users to filter the list down to the tag they're interested in, using Alpine.js โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes ๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐: 00:00 Intro 01:01 Creating Film Model 01:39 Adding Model to Admin 02:48 django-taggit overview 07:15 Exploring django-taggit in the Django shell 10:08 Adding tags to admin list page 12:26 Accessing tags in template and views 14:44 Styling buttons with TailwindCSS 16:18 Styling card with TailwindCSS ๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ: ๐พ Github: https://github.com/bugbytes-io/django-taggit-demo ๐ Blog: https://www.bugbytes.io/posts/creating-scheduled-tasks-with-django-crontab/ ๐ฆ Twitter: https://twitter.com/bugbytesio ๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป: Starter Code: https://github.com/bugbytes-io/django-taggit-demo/tree/master/starter django-taggit: https://django-taggit.readthedocs.io/en/latest/ TailwindCSS: https://tailwindcss.com/docs/installation #python #django #tags #tailwindcss
Download
0 formatsNo download links available.