Passing Variable to HTML - Django Web Development Tutorial 6

preview_player
Показать описание
Welcome to the next tutorial of Django web development tutorial series.

In this tutorial, we are going to learn how to pass the variable from Python to HTML template? We will pass context with HTML page render method and pass the variable as a dictionary.

Also, we will learn about to write loop and conditions on an HTML page.

Download source code of the project that we created in this tutorial from here:

You can contact me at my email.

If you have any problems or concerns then feel free to post your comment below I will be happy to help you as soon as I can. Otherwise, see you in next tutorial. Thanks for watching.

Subscribe this channel for more videos on Django development tutorial.
Рекомендации по теме
Комментарии
Автор

Sir you are too good ....hope you will upload more videos ...m giving you best wishes for your future

paddy
Автор

very nice class you to understand django... hope u will upload more videos like this in future.

josephs
Автор

before that i followed sam example from sentdex u are explanation rocks

marimuthukanagaraj
Автор

I am not able to post data after inheriting the template. What about the javascript file?

zubinmukherjee
Автор

I am assuming index.html is in templates, why is it not necessary to define How does "MovieReview/index.html" work?

cl
Автор

how do you pass a variable to Javascript?

flipndip