🎙 Ответы Посла по особым поручениям, Старшего должностного лица России в АТЭС К.М.Барского на вопросы МИА «Россия сегодня»
📅 18-19 ноября в Бангкоке состоится очередная встреча лидеров экономик-участниц форума «Азиатско-тихоокеанское экономическое сотрудничество» (#АТЭС).
К сожалению, традиционно конструктивная работа в рамках АТЭС в этом году омрачена попытками США, Австралии, Канады, Новой Зеландии и Японии привнести в повестку дня Форума «украинский сюжет», а также возложить на Россию ответственность за неблагоприятное положение дел в мировой экономике.
Терпеливо разъясняем партнерам, что рост цен на продовольствие и энергетические товары, как и в целом развитие инфляционных тенденций, наблюдаются уже несколько лет и объясняются:
👉 вызванными пандемией сбоями в глобальных и региональных стоимостных цепочках,
👉 безоглядной «накачкой» мировой экономики ликвидностью в рамках ультралиберальной кредитно-денежной политики эмитентов основных резервных валют.
Россия является инициатором или активным участником реализации более чем 20 проектов АТЭС в таких сферах, как торговля и инвестиции, цифровая трансформация, устойчивое и инклюзивное развитие.
Отмечаем взвешенную и конструктивную позицию таиландского председательства, которое Россия всецело поддерживает. Рассчитываем на успешное проведение саммита АТЭС и консенсусное одобрение лидерами его итоговых документов.
Подробнее
https://github.com/aio-libs/aiohttp-jinja2
Before template rendering you have to setup #jinja2 environment first:
After that you may to use template engine in your #web-handlers. The most convenient way is to decorate a web-handler.
Using the function based web handlers:
http://jinja.pocoo.org/docs/2.9/
#Jinja2 is a modern and designer-friendly templating language for Python, modelled after Django’s templates. It is fast, widely used and secure with the optional sandboxed template execution environment:
#web
https://stackoverflow.com/questions/30288351/how-to-setup-django-1-8-to-use-jinja2
The #Jinja template folder for app dirs defaults to #jinja2 not the standard templates folder.
So try the following directory structure and #Django will locate your Jinja #templates:
mysite
mysite
myapp
jinja2
myapp
index.html
manage.py
And instead of: return render(request, 'myapp/index.html') you should write: return render(request, 'index.html')
https://alysivji.github.io/flask-part1-generating-html-pages-with-mongoengine-jinja2.html
Generating HTML Pages from #MongoDB with #MongoEngine and #Jinja2 (Flask Part 1)
Summary
Overview of MongoDB
Discussion of Object-Relational Mapping (#ORM)
Use MongoEngine to get items out of MongoDB
Render #HTML pages using Jinja2
Interact with #REST API to send emails with #Requests
#Mako is a #template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance. Mako's syntax and #API borrows from the best ideas of many others, including #Django and #Jinja2 templates, #Cheetah, #Myghty, and #Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.
http://www.makotemplates.org/