How to PROPERLY render HTML templates in Django 1| Complete Django Beginner Tutorial #6

Опубликовано: 09 Январь 2023
на канале: Always Django
36
2

Hi fellow Django Developers, in this part of our Complete Djang Beginner tutorial playlist, you will learn about converting a template into Django project. You will also learn how to include HTML files in Django.

HTML projects are rendered to bring them into response, and for that, you need to import a library. Firstly, you need to call the program base directory which will bring the whole path of the main folder.

The function used to convert HTML to Django is Django. shortcut library. Every detail and action is implemented in a practical way so you can understand it all. You can change the background color, size, font size, and width of the program as well.

Our trainer will explain it all with the help of proper practical examples which will help you understand the concept better.

We have made a complete playlist on the Django framework from Python; you can watch more videos from the playlist to learn in-depth about it.

Complete Django Beginner Playlist
=========================================
   • Complete Django Beginner  Tutorial  


Django Apps
   • Understand what Django APPS are| Comp...  


Github Project Source Code.
===============================
https://github.com/Chuqdi/youtube_com...
00:00 Introduction
02:12 Create a template folder
03:23 Editing settings.py file
07:15 Editting the views.py file to return the HTML template