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...DiscussJinjaJinja2
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...Discuss·65 readsPython
Nikhil AkkiPronikhilakki.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...Discuss·29 readsFrontend Frameworkscsrf-xss
Anjanesh LekshminarayananProanjanesh.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...Discuss·632 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 ...Discuss·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...Discuss·495 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...Discuss·1 like·38 readsFlask Framework