Posts From Django

Django Template Language (2)

Django Template Language – Introduction for Beginners

In this article, we will learn about the Django Template language and how to use it in Templates. What is Django Template Language? Django Template Language or DTL is a text-based Template language that provides a bridge between scripts like HTML, CSS, JS, etc. and programming languages like python. DTL is specifically built for developers […]

Django Template Inheritance

Django Template Inheritance – Avoid Redundant Code

In this article, we will learn about a very important topic Django Template Inheritance. We’ve already learned what templates in Django are. We’ll carry our knowledge from there and build up on it. What is Django Template Inheritance? Template Inheritance is a method to add all the elements of an HTML file into another without […]

Django Send Email

Send Emails Using Django

In this article, we will learn to send emails using Django to users automatically via the Django mail library, an extension of the smtplib module of Python. What is SMTP? SMTP server stands for Simple Mail Transfer Protocol, which is a community protocol for electronic mail transmission. SMTP consists of a set of community guidelines […]

Django Redirect

Django Redirects – How to Add a Redirect to Your Django Page?

In this article, we will learn about Django redirects using the Django Http library. We’ll briefly talk about the use cases and the applications of the redirect method. Why do we need redirection in Django? Redirection to another site is an essential part of the web application. It enhances the efficiency of the web pages. […]

Django Form Validation

In this article, we will learn about the Built-In Django Form Validation offered as well as the Django Custom Form Validations. Prerequisites for Django Form Validation Before moving forward with Form Validation, you will need to know what Django forms and how you implement them in Django. If you are already familiar with Django Forms, […]

Django Model Forms

Django Model Forms – Implement Model Forms in Django

In this article, we learn about Django model forms and how to connect them with the concept of models. Prerequisites for Django Model Forms Before diving into Model Forms, we should be familiar with Django Forms and their usage. So if you are new to it, do check out our Django forms article before moving […]