Zahiruddin Tavargerezahere.com·Dec 22, 2024Unlocking the Power of Dynamic Prompting with Jinja2Colab Notebook: https://colab.research.google.com/drive/18nzaXc7__KDYaPSRyf2mZyCK_pj4ON26 https://www.youtube.com/watch?v=Rq2zM7_5yw0 Dynamic prompt generation has become a cornerstone of modern AI workflows. Whether you're building personalized em...#PromptEngineering
Pedro Dautonetops.com·Oct 31, 2024Using Python functions in Jinja templatesIn certain situations, Jinja templates can become overly complex and difficult to manage due to the presence of numerous deeply nested if statements, which can make the logic hard to follow and maintain, and methods used to handle variables can becom...JinjaJinja2
Jasai Hansdajasaiblogs.hashnode.dev·Jul 6, 2024Understanding Python Flask ApplicationsPython Flask is a lightweight, flexible web framework ideal for building web applications and services. Learn its features, structure, and use cases with examples. Introduction Python Flask is a micro web framework for Python, designed to be lightwei...70 readsPython
Nikhil Akkinikhilakki.in·Jun 1, 2024Web Dev: Understanding CSRF and XSSCSRF (Cross-Site Request Forgery) and XSS (Cross-Site Scripting) are both security vulnerabilities that can affect web applications. CSRF (Cross-Site Request Forgery): CSRF is an attack where a malicious website tricks a user's browser into perform...29 readsFrontend Frameworkscsrf-xss
Anjanesh Lekshminarayanananjanesh.dev·Feb 16, 2024Accessing an array list in a Django jinja2 templateThis may seem miniscule, but many newbies tend to forget the fact that template coding in HTML is not necessarily equivalent to language code. In almost all programming languages (or probably all ?), we access an index of an array / list using the sq...703 readsDjango
Danner Baumgartnerdader34.hashnode.dev·Dec 1, 2023Jinja 2 And How To Template Like A ProJinja 2 is a powerful, super extensive and popular templating engine for Python web development. It gives you a simple, clean, and really extensible way to generate dynamic content in web applications. In this article, we'll look through the origins ...32 readsJinja2
Panagiotis Katsaroumpas, PhDdeepdive.codiply.com·Oct 13, 2023String interpolation in YAML with PythonString interpolation is not a feature of YAML. In this post, I will present a quick way to perform string interpolation in your configuration files written in YAML format. For that, I will use Jinja syntax to define the placeholders in key values and...588 readsPython
Ritwik Mathritwikmath.hashnode.dev·Apr 14, 2023Mastering Flask: A Comprehensive Web Development Series for Python EnthusiastsBe Sure to Complete the Series In this Flask web development series, we'll dive deeper into Flask and cover topics that build on the basics introduced in the first article. We'll explore more advanced features of Flask, including database integration...1 like·39 readsFlask Framework