Render Data to Django Template | Django Project | djblogger | 28

preview_player
Показать описание
This tutorial looks at how to extract data from the database and prepare it on a Django template.

Udemy Course Link:

YouTube Ed Course Link:

Developing applications can be a fun and effective way of learning a language and framework. In this course, we build a blog application Introducing you to Python Django Framework, Django Templating, the Bootstrap framework, HTMX, CSS, and HTML. In addition, this course introduces testing aspects of a Django project.

This course is primarily designed for anyone looking for a journey learning the Django Framework or developing web applications with Python. This course is a great starting point or a good first step after first learning about any of the technologies that this course features.
Рекомендации по теме
Комментарии
Автор

Rem = px/browser font size (default 16) so unless you've change your base font of your browser just divide the font in pixels you want by 16. Better to set with rem as it scales better as you zoom in/out or move to different devices

madusan
Автор

One h1 element per page. Title should be an h2. On the post detail page the title can be h1. For SEO

madusan
Автор

Don't forget the alt element of img for screen readers

madusan
Автор

I prefer just making the post title a css class and then making the changes in css but then I'm old school. your styles were being overwritten because the bootstrap elements have (!important) tags on them. Do another inspect and you'll see them in the styles inspector

madusan
Автор

Hi Zander. Thank you!
Could I get coupon codes if I need to buy three of your courses on Udemy? Please let me know.

Thank you!

dodgewagen