Flask app tutorial, part 3

Опубликовано: 18 Март 2020
на канале: Intro to Web Apps
103
1

We complete the Flask template for the presidents detail page (president.html), adding dynamic images and links — both a link from the data source/dictionary leading to an external site and a link internal to the Flask app.

1:14 Insert images dynamically
6:22 Correct Jinja2 code for a URL coming from the dictionary
8:51 Correct Jinja2 code for a relative path within the Flask app
12:38 Fine-tuning the template with if-then statements

Gist for script at end of previous video (where this video begins): https://gist.github.com/macloo/073831...
Previous video:    • Flask app tutorial, part 2  

Python Beginners resource: https://python-adv-web-apps.readthedo...
Code: https://github.com/macloo/python-adv-...
Live presidents app: https://weimergeeks.com/flask_pres/
Flask: https://palletsprojects.com/p/flask/
Jinja documentation: https://jinja.palletsprojects.com/


На этой странице сайта вы можете посмотреть видео онлайн Flask app tutorial, part 3 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Intro to Web Apps 18 Март 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 103 раз и оно понравилось 1 зрителям. Приятного просмотра!