#6 Django tutorials | Django Template Language - part 2

preview_player
Показать описание
In this lecture we will talk about :

#1How to use one html file into another html file
#2How to use jinja to add one html content into another html content

In the previous video we talk about DTL
we print dynamic text using DTL

Inside templates we create another file
and we can use the same header and footer in all the pages

#1 How to use one html file into another html file

#2 How to use jinja to add one html content into another html content
-- we have jinja to add one html content into another html content

Django is a high-level Python-based free and open-source web framework, which follows the model-view-template (MVT) architectural pattern.
It is maintained by the Django Software Foundation (DSF).
Django's primary goal is to ease the creation of complex, database-driven websites.
Some well-known sites that use Django include the Public Broadcasting Service, Instagram, Mozilla, The Washington Times, Disqus, Bitbucket, and Nextdoor.

In this video we will see:
Creating common theme for all the pages
Adding Jinja extension
Importing the settings or external files through Jinja extension

Editing Machines & Monitors :

Facebook:

Subscribe to our other channel:

Donation & Support:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

Hey all, every time you make a change, make sure you do 'Ctrl +S' to save the changes made. Then only it will

talhatayyab
Автор

Thank You so much for these tutorials, your guidance helped to solve error i was facing from 3 days ..
Your way of explanation is easy and cut to the point ..

palaksharma
Автор

You are fabulous mentor I ever seen. Great to learn interesting things from your tutorials.
Thanks

shivank
Автор

I am usually late comer to visit the videos however not in this series, very happy learning in your videos. Thanks a lot.

kishorek
Автор

Thank you so much Sir. Lucky to find u to learn Django. Hope u will be creating more and more video for us and explain those like this easy way.

salekhridoy
Автор

Sir, As I render the HTML page .I could not get the bg image in the webpage.

captainabhijeeth
Автор

I didn't get Jinja Extension in 2019 Visual studio.. from where I can get it?

achalkatre
Автор

Hello @Telusko, Can't we directly write 'templates' in the DIR? I am doing it, and it is working fine

ANUbhav
Автор

Whenever i am making changes on the html file its not reflection on the web browser. Could anyone please help me!

rishabhkholiya
Автор

SUPER sir THANKS A LOT,
ONE SMALL REQUEST those WHO are READING THIS COMMENT PLS DO NOT SKIP THE ADDS, THIS IS THE LEAST WAY WE CAN HELP THIS sir WHO IS REALLY WORKING HARD FOR US TO TEACH IN AN EAASY WAY

meghanathreddy
Автор

Not extending the base.html file. Showing the same output not even coloring the background! Can anyone answer me.

rishabhkholiya
Автор

What is the shortcut for pycharm IDE as like '!' and "enter" in visual studio IDE. Navin used it in base.html file.

mahadinbd
Автор

1:50 {% block content %} will be a block where you can put your content
Thank you

victorystocktv
Автор

after extending the base HTML file to the home one, I am able to see just the base HTML file as an output rather than the home one.

anujjhamb
Автор

So nice teaching i loved ur teaching.
but i have 1 doubt hoe to use separate css file for html files .And can we use javascript there . If yes then how plzz tell us sir . Overall no.1 teacher ur sir .thanks for ur efforts to teach us.🥰🥰🥰🥰🥰❤❤❤💯

destroyer
Автор

Outstanding explanation and content of the video. Hat's off to you Sir.

eliashossain
Автор

I can not find the jinja extension please help me with this

vijaykumar-syuu
Автор

If I'm using pycharm, attributes are in white color, what should I do then, any extensions or settings ?

dip_coder
Автор

Awesome Videos, I am grateful for you

doniyorabduvokhidov
Автор

This is a fantastic way of teaching!!!😍

skviknesh
join shbcf.ru