Tag: Django Template tags and Filters

Django Template Tags are simple Python Functions that accept arguments and after processing returns the values which can be displayed in templates. These tags are used in templates or in HTML. You can extend the template engine by defining custom tags and filters.

Create Text to HTML converter using Django template

Have you ever wondered to write just simple text in a text editor and got a html code for it something similar to text to html converter. It would be amazing that you can write an HTML code without actually writing it. Being a part of the technical field we have to learn a programming… Continue Reading »

Django Dynamic Template – Render Dynamic Variable/Data

django template dynamic variable

Django has Template System for Display Content on Web. Using Views and Django Template we can display data in the template. There are lots of Django Template Tags and Filter for displaying data dynamically. We can pass the Model data to view for rendering it in the template. In this tutorial, you will learn how… Continue Reading »

Django Bootstrap 4 – Integrate Template Example

Learn How to make Django Bootstrap 4 Template. Django Template System provides a way to separate Python Code and HTML Code. Django is a Popular Web Framework. It can be also used by front-end frameworks like AngularJS, ReactJS, VueJS. We can use Template Tags and Filters in HTML Code. It will allow us to use… Continue Reading »

How to Django Create Custom Template Tags and Filters

In this tutorial, you will learn how to django create custom template tags. There are lots of built-in template tags and filters in Django. But sometimes these tags are of no use or we need more functionality to do. For such a situation we create our own tags and filters. When you define custom tags… Continue Reading »