Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Python Django
582+ articles
Python Framework
68+ articles
Django-Projects
60+ articles
Django-templates
32 posts
Recent Articles
Returning HttpResponse from Django and understanding URLS
Last Updated: 14 January 2026
Django offers a simple way to send HttpResponse, allowing the server to communicate with the client based on the user's request.HttpResponse is the main class used to retu...
read more
Python
Django-templates
Django-Projects
How to Perform Query Filtering in Django Templates
Last Updated: 23 July 2025
Sometimes we may want to filter or modify the list of objects within the template itself to tailor the data being displayed. While filtering should generally be done at th...
read more
Python
Picked
Python Django
Django-templates
How to Add Multiple Arguments to Custom Template Filter in a Django Template
Last Updated: 23 July 2025
In Django, template filters are useful for modifying data before displaying it in templates. While built-in filters cover common cases, custom logic is sometimes necessary...
read more
Python
Picked
Python Django
Django-templates
Math Operation in Django Template
Last Updated: 23 July 2025
This article will guide you through how you can perform basic math operations within a Django template and best practices to handle more complex logic.Django Template Filt...
read more
Python
Picked
Python Django
Django-templates
How to Check for Last Loop Iteration in Django Template
Last Updated: 23 July 2025
Iterating over lists or querysets is a common task when working with Django templates. Sometimes, we may need to perform a specific action or modify the output during the ...
read more
Python
Picked
Python Django
Django-templates
Change the Default Date Format in Django Template
Last Updated: 23 July 2025
We often need to display dates in a format different from the default for the sake of user experience. Django provides several ways to customize the date format directly w...
read more
Python
Picked
Python Django
Django-templates
Make the First Letter Uppercase Inside a Django Template
Last Updated: 23 July 2025
In this article, we'll explore how to make the first letter of a string uppercase inside a Django template. We will do this with the help of a simple Django project to ill...
read more
Python
Picked
Python Django
Django-templates
Handle and Iterate Nested Dictionaries in Django Templates
Last Updated: 16 August 2024
Django templates offer various tags and filters to work with data. they are designed to readable and expressive. To iterate through a dictionary which contains a dictionar...
read more
Python
Picked
Python Django
Django-templates
What is the equivalent of None in django Templates
Last Updated: 23 July 2025
In Python, `None` is a special value that means "no value." When using Django templates, you might need to check if a variable is `None` to show something else or handle e...
read more
Python
Picked
Python Django
Django-templates
Access Array Elements in a Django Template
Last Updated: 23 July 2025
Python lists are commonly used to represent arrays in Django. Having a basic understanding of how to access array items in Django templates is essential to displaying data...
read more
Python
Picked
Python Django
Django-templates
How to Access a Dictionary Element in a Django Template?
Last Updated: 23 July 2025
Accessing dictionary elements in Django templates can be accomplished through various methods, including direct access using dot or bracket notation, handling missing keys...
read more
Python
Picked
Python Django
Django-templates
Concatenate Strings in Django Templates
Last Updated: 23 July 2025
Concatenating strings in Django templates can be achieved through several methods, including using built-in filters, formatting, and custom template tags. Each method has ...
read more
Python
Picked
Python Django
Django-templates
Access Constants in settings.py from Templates in Django
Last Updated: 01 August 2024
Django is a popular web framework known for its simplicity and powerful features, enabling developers to build robust web applications quickly. One of the essential compon...
read more
Python
Picked
Python Django
Django-templates
Get the Current URL within a Django Template
Last Updated: 23 July 2025
Django, a high-level Python web framework, encourages rapid development and clean, pragmatic design. One common requirement when developing web applications is to access t...
read more
Python
Picked
Python Django
Django-templates
Django - Creating a 404 Error Page
Last Updated: 23 July 2025
The 404 error is raised when the URL called upon doesn't exist or has not been defined yet. This is commonly referred to as Page does not exist error. To handle requests f...
read more
Python
Python Django
Django-templates
Python Framework
1
2
3