Passing variables from python to html - Django Web Development with Python 5

Опубликовано: 24 Январь 2016
на канале: sentdex
213,697
1.5k

Welcome to the fifth part of our Django web development with Python tutorial series. In this tutorial, we're going to cover passing variables from Python to our HTML templates. To try this, we're going to build our "contact" page. Adding a new page, of the personal app, what are we certain to need?

We will need a view, and a url pattern to return that view. Let's head into the personal/views.py file first.

Text-based tutorial and sample code: https://pythonprogramming.net/jinja-v...

https://pythonprogramming.net
  / sentdex  
  / pythonprogramming.net  
https://plus.google.com/+sentdex


На этой странице сайта вы можете посмотреть видео онлайн Passing variables from python to html - Django Web Development with Python 5 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь sentdex 24 Январь 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 213,697 раз и оно понравилось 1.5 тысяч зрителям. Приятного просмотра!